-
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #116 from Resgrid/develop
Develop
- Loading branch information
Showing
822 changed files
with
291,602 additions
and
11,564 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
version = 1 | ||
|
||
[[analyzers]] | ||
name = "csharp" | ||
|
||
|
||
[[analyzers]] | ||
name = "javascript" | ||
|
||
[analyzers.meta] | ||
plugins = ["angular"] | ||
|
||
|
||
[analyzers.meta] | ||
runtime_version = "3.x.x" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,5 +21,6 @@ | |
**/obj | ||
**/secrets.dev.yaml | ||
**/values.dev.yaml | ||
**/node_modules | ||
LICENSE | ||
README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Auto approve | ||
|
||
on: | ||
issue_comment: | ||
types: | ||
- created | ||
|
||
jobs: | ||
auto-approve: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
pull-requests: write | ||
steps: | ||
- uses: actions/github-script@v6 | ||
name: Approve LGTM Review | ||
if: github.actor == 'ucswift' && contains(github.event.comment.body, 'Approve') | ||
with: | ||
script: | | ||
github.rest.pulls.createReview({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
pull_number: context.issue.number, | ||
review_id: 1, | ||
event: 'APPROVE', | ||
body: 'This PR is approved.' | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# This workflow will build a .NET project | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | ||
|
||
name: .NET | ||
|
||
on: | ||
pull_request: | ||
branches: [ "master", "develop" ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 8.0.x | ||
- name: Restore dependencies | ||
run: dotnet restore | ||
- name: Build | ||
run: dotnet build --no-restore | ||
- name: Test | ||
run: dotnet test --no-build --verbosity normal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
meta { | ||
name: Login | ||
type: http | ||
seq: 1 | ||
} | ||
|
||
post { | ||
url: {{BASE_API_URL}}/connect/token | ||
body: formUrlEncoded | ||
auth: none | ||
} | ||
|
||
headers { | ||
Content-Type: application/x-www-form-urlencoded | ||
} | ||
|
||
body:form-urlencoded { | ||
grant_type: password | ||
scope: openid profile offline_access | ||
username: {{USERNAME}} | ||
password: {{PASSWORD}} | ||
} | ||
|
||
vars:post-response { | ||
access_token: res.body.access_token | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
meta { | ||
name: CreateCall | ||
type: http | ||
seq: 1 | ||
} | ||
|
||
post { | ||
url: {{BASE_API_URL}}/Calls/SaveCall | ||
body: json | ||
auth: bearer | ||
} | ||
|
||
auth:bearer { | ||
token: {{access_token}} | ||
} | ||
|
||
body:json { | ||
{ | ||
"Priority": "1", | ||
"Name": "Jane Smith", | ||
"Nature": "This is the nature of my call", | ||
"Note": "These are the notes of the call", | ||
"Address": "123 Main St., Wilmington, OH", | ||
"Geolocation": "", | ||
"Type": "", | ||
"What3Words": "", | ||
"DispatchList": "U:5733", | ||
"ContactName": "null", | ||
"ContactInfo": "null", | ||
"ExternalId": "null", | ||
"IncidentId": "null", | ||
"ReferenceId": "null", | ||
"DispatchOn": "2024-03-07T02:32:53.842Z", | ||
"CallFormData": "null" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"version": "1", | ||
"name": "Resgrid", | ||
"type": "collection", | ||
"ignore": [ | ||
"node_modules", | ||
".git" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
vars:secret [ | ||
BASE_API_URL, | ||
USERNAME, | ||
PASSWORD | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
vars { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
namespace Resgrid.Config | ||
{ | ||
/// <summary> | ||
/// Config settings for the operation of the auditing sub-system | ||
/// </summary> | ||
public static class AuditConfig | ||
{ | ||
/// <summary> | ||
/// Connection string to the audit database | ||
/// </summary> | ||
public static string ConnectionString = "Server=rgdevserver;Database=ResgridAudit;User Id=resgrid_audit;Password=resgrid123;MultipleActiveResultSets=True;"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.