Commit graph

2728 commits

Author SHA1 Message Date
Collin M. Barrett
fd4a037f94 don't auto-redirect HttpClient 2019-07-02 21:50:39 -05:00
Collin M. Barrett
97db616f88 add conn string env var to Agent 2019-07-02 21:23:52 -05:00
Collin M. Barrett
1ae2fe66c0 add logging of GitHub API errors 2019-07-03 01:21:06 +00:00
Collin M. Barrett
1a41cf6a62 distribute URLs by host 2019-07-03 01:21:06 +00:00
Collin M. Barrett
2aaa32aa4e only validate distinct URLs per file 2019-07-03 01:21:06 +00:00
Collin M. Barrett
bdd2bd9b3b log og string for invalid URL syntax 2019-07-03 01:21:06 +00:00
Collin M. Barrett
c2447cbb5c log og string for invalid URL syntax 2019-07-03 01:21:06 +00:00
Collin M. Barrett
91a724598b validate is valid syntax of a URL 2019-07-03 01:21:06 +00:00
Collin M. Barrett
747c6be1a9 catch InvalidOperationException and add better logging 2019-07-03 01:21:06 +00:00
Collin M. Barrett
437eea994d prefix issue title with 'BOT:' 2019-07-03 01:21:06 +00:00
Collin M. Barrett
ceccafc31b set default repo owner and repo 2019-07-03 01:21:06 +00:00
Collin M. Barrett
731287371a set default repo owner and repo 2019-07-03 01:21:06 +00:00
Collin M. Barrett
79352e304e validate URLs 2019-07-03 01:21:06 +00:00
Collin M. Barrett
3ab6803229 spacing for standardization 2019-07-03 01:21:06 +00:00
Collin M. Barrett
2f5d01cff6 patch up new GitHub config options 2019-07-03 01:21:06 +00:00
Collin M. Barrett
8cbf4e666d tweak Issue body header 2019-07-03 01:21:06 +00:00
Collin M. Barrett
34ef11f194 only close issue if no validation errors found 2019-07-03 01:21:06 +00:00
Collin M. Barrett
db25be46ec initial impl of CloseUrlValidationIssue 2019-07-03 01:21:06 +00:00
Collin M. Barrett
b51039d6f1 stub close issue command 2019-07-03 01:21:06 +00:00
Collin M. Barrett
a02e32861c add data label to auto-gen Issue 2019-07-03 01:21:06 +00:00
Collin M. Barrett
044e86b0ae updates to GH Issue body 2019-07-03 01:21:06 +00:00
Collin M. Barrett
77d873c942 updates to GH Issue body 2019-07-03 01:21:06 +00:00
Collin M. Barrett
ec77db54f2 initial add BuildGitHubIssueBody 2019-07-03 01:21:06 +00:00
Collin M. Barrett
d1e6649df8 add TODO to handle when to auto-close the issue 2019-07-03 01:21:06 +00:00
Collin M. Barrett
98329e42a2 undo filtering non-Uri which doesn't work right 2019-07-03 01:21:06 +00:00
Collin M. Barrett
25c7653914 flesh out support of Issue create & update 2019-07-03 01:21:06 +00:00
Collin M. Barrett
76df08bd84 extract AgentGitHubClient 2019-07-03 01:21:06 +00:00
Collin M. Barrett
8b773c9639 add GitHub config env vars 2019-07-03 01:21:06 +00:00
Collin M. Barrett
6505d203c6 tidy DI registration 2019-07-03 01:21:06 +00:00
Collin M. Barrett
aef399ef2d fix GitHubClient config 2019-07-03 01:21:06 +00:00
Collin M. Barrett
5dfe568144 rm legacy GH integration 2019-07-03 01:21:06 +00:00
Collin M. Barrett
dc6605374e support appsettings.Development.json override 2019-07-03 01:21:06 +00:00
Collin M. Barrett
814b875aa1 wire up Octokit 2019-07-03 01:21:06 +00:00
Collin M. Barrett
f1636f4369 add stub of CreateOrUpdateGitHubIssue command 2019-07-03 01:21:06 +00:00
Collin M. Barrett
d936a49621 add initial support for checking if https is valid for a currently http url 2019-07-03 01:21:06 +00:00
Collin M. Barrett
4bf7af90ba return List rather than IEnum to simplify calls 2019-07-03 01:21:06 +00:00
Collin M. Barrett
9057723e8e update some validation messages 2019-07-03 01:21:06 +00:00
Collin M. Barrett
a3e745e863 ren dir 2019-07-03 01:21:06 +00:00
Collin M. Barrett
b2f2ebfcf7 organize Urls -> Models 2019-07-03 01:21:06 +00:00
Collin M. Barrett
ea1909a551 log non-sucessful HTTP status codes while downloading lists 2019-07-03 01:21:06 +00:00
Collin M. Barrett
ac05b0c22a ren param for consistency 2019-07-03 01:21:06 +00:00
Collin M. Barrett
0bf807f01e limit scope of try block 2019-07-03 01:21:06 +00:00
Collin M. Barrett
dddb9f3d28 log file extension not supported 2019-07-03 01:21:06 +00:00
Collin M. Barrett
16dbe8b752 singular entity in repo name 2019-07-03 01:21:06 +00:00
Collin M. Barrett
7d1d5b82bc iterate over all models to validate and package up aggregated results 2019-07-03 01:21:06 +00:00
Collin M. Barrett
6475687ec7 simplify seed endpoint building and add validation of TModel 2019-07-03 01:21:06 +00:00
Collin M. Barrett
821a0ec0d2 simplify prop value extraction 2019-07-03 01:21:06 +00:00
Collin M. Barrett
9e9bb5ebfd ren generic type param 2019-07-03 01:21:06 +00:00
Collin M. Barrett
63b33a20ac filter props to validate to only those of type Uri 2019-07-03 01:21:06 +00:00
Collin M. Barrett
3ddc697ed1 avoid empty interface
https://stackoverflow.com/a/20189040/2343739
2019-07-03 01:21:06 +00:00