Skip to content
This repository has been archived by the owner on Jun 21, 2020. It is now read-only.

Development #62

Merged
merged 196 commits into from Aug 11, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
196 commits
Select commit Hold shift + click to select a range
c359718
Merge pull request #4 from ALM-Rangers/Unit-Test-Project
jeffrey-opdam Apr 5, 2017
a838767
Update README.md
Apr 5, 2017
5473666
Update README.md
Apr 5, 2017
07f8cc9
Added a common folder for common assembly info and custom dictionary.…
Apr 5, 2017
ab65278
Added Code Analyzers.
jeffrey-opdam Apr 5, 2017
a78e885
Merge pull request #5 from ALM-Rangers/CodeAnalysis
jeffrey-opdam Apr 5, 2017
057042e
fix CA
mikaelkrief Apr 6, 2017
100f0f6
Merge pull request #6 from mikaelkrief/Development
jeffrey-opdam Apr 6, 2017
725010a
Refactored the tests to make it more simple.
jeffrey-opdam Apr 6, 2017
c4e311a
Fixed wrong folder name.
jeffrey-opdam Apr 6, 2017
8d1a999
Updated the source headers.
jeffrey-opdam Apr 6, 2017
540acf8
Added initial acceptance test.
jeffrey-opdam Apr 11, 2017
0a266b9
Acceptance Tests.
jeffrey-opdam Apr 11, 2017
a2ab186
updated ignore file, so it ignores the runsettings file.
jeffrey-opdam Apr 11, 2017
196c4c9
Setup configuration.
jeffrey-opdam Apr 11, 2017
b039855
Setup configuration.
jeffrey-opdam Apr 11, 2017
ed61503
Merge branch 'Acceptance-Tests' of https://github.com/ALM-Rangers/Tea…
jeffrey-opdam Apr 11, 2017
5b33327
Updated the readme.md file with guidance how to setup the user for Ac…
jeffrey-opdam Apr 12, 2017
b183547
Updated the headers
jeffrey-opdam Apr 12, 2017
fd69331
- Added the CommonAssemblyInfo to Acceptance Test.
jeffrey-opdam Apr 12, 2017
0edc953
Merge pull request #7 from ALM-Rangers/Acceptance-Tests
jeffrey-opdam Apr 12, 2017
ae83313
Added AppSettings.config to repo
jeffrey-opdam Apr 12, 2017
e11f77c
Trying to get it right
jeffrey-opdam Apr 12, 2017
504d642
Added AppSettings.config again
jeffrey-opdam Apr 12, 2017
986fb01
Add runsettings
jeffrey-opdam Apr 12, 2017
d874359
Added batch for to ignore changes.
jeffrey-opdam Apr 12, 2017
6c896e3
Fixed the web.release.config
jeffrey-opdam Apr 12, 2017
6d2aea0
Web.Release.config
jeffrey-opdam Apr 12, 2017
748c367
again
jeffrey-opdam Apr 12, 2017
c0efca9
Change
jeffrey-opdam Apr 12, 2017
1b9fed4
And finally fixed.
jeffrey-opdam Apr 12, 2017
0b0e74d
- Adopted Autofac.
jeffrey-opdam Apr 15, 2017
f02644b
Added Telemetry
jeffrey-opdam Apr 17, 2017
832c29e
Enabled StyleCop for the api project.
jeffrey-opdam Apr 18, 2017
dcf3802
Merge pull request #8 from ALM-Rangers/Autofac-implementation
jeffrey-opdam Apr 18, 2017
2fd1db1
Added stylecop analysis for the Unit Test project.
jeffrey-opdam Apr 18, 2017
0a33bd4
Added stylecop rules to Acceptance test project.
jeffrey-opdam Apr 18, 2017
1f6f84c
Initial code to popup a signin card and redirect to login screen.
jeffrey-opdam Apr 23, 2017
116d1b2
Added first unit test for connecting to an account.
jeffrey-opdam Apr 26, 2017
fa3bee5
Tested with emulator, it is spinning up.
jeffrey-opdam Apr 26, 2017
d2c0bba
Mark the current specflow tests using the DirectLine client as Integr…
Apr 27, 2017
b49aea7
Start of controller feature tests.
Apr 27, 2017
f4aaef4
Worked on the AuthorizeController, when a redirect is done to the con…
jeffrey-opdam Apr 27, 2017
15fed69
Able to do a round trip with the oauth.
jeffrey-opdam Apr 28, 2017
45531a9
Update AppSettings.config
jeffrey-opdam Apr 28, 2017
a65da52
Simplified.
jeffrey-opdam Apr 28, 2017
b55ade9
Added initial steps for testing the controller, although not working …
Apr 29, 2017
03927cf
Fixed issue for Test Explorer not finding the tests.
jeffrey-opdam Apr 29, 2017
408e21b
Added acceptance tests for the controller, which needs dialogs to be …
Apr 29, 2017
0364649
Added test for non-message activities sent to the controller.
Apr 29, 2017
5232215
Finished the unit test for retrieving and processing a security code.
jeffrey-opdam Apr 29, 2017
e7ca017
Refactored a bit.
jeffrey-opdam Apr 30, 2017
0230ec6
Added a production code ruleset. Fixed all code analysis errors. Ensu…
Apr 30, 2017
6e418db
Checks if a profile was selected before.
jeffrey-opdam Apr 30, 2017
9839152
Small Updates.
jeffrey-opdam May 1, 2017
2918083
Merge pull request #11 from ALM-Rangers/JO-13227
almguru May 2, 2017
d1f7728
Merged with some corrections
May 2, 2017
d919e04
Merge pull request #10 from ALM-Rangers/rob_controller_tests
jeffrey-opdam May 2, 2017
338c6b4
Fixed issue with different version of assemblies
jeffrey-opdam May 2, 2017
6cbb5c8
Merge pull request #12 from ALM-Rangers/JO-Small-Fixes
jeffrey-opdam May 2, 2017
9328a45
Fixed issue with test not showing up
jeffrey-opdam May 2, 2017
1fbe3c1
Merge pull request #14 from ALM-Rangers/JO-Small-Fixes
jeffrey-opdam May 2, 2017
90743d8
Added common files to solution for easy tracking.
almguru May 8, 2017
141aeac
Updated NuGet packages.
almguru May 8, 2017
ec6d609
Revert "Updated NuGet packages."
almguru May 8, 2017
78f2688
Jo 13138 (#15)
jeffrey-opdam May 8, 2017
786e9ab
Updated NuGet packages.
almguru May 8, 2017
c9575e8
Added ReSharper settings file.
almguru May 8, 2017
65eedeb
Merge branch 'Development' into feature/13139_Connect_to_a_Team_Project
almguru May 9, 2017
7f3f8e3
Removed unused parameter.
almguru May 9, 2017
fa7c9d4
Corrected IDisposable patter implementation
almguru May 9, 2017
b66296b
Merge pull request #18 from ALM-Rangers/feature/13139_Connect_to_a_Te…
almguru May 9, 2017
9c8cbd1
Wrapped any iterpolated string with FormattableString.Invariant(), so…
jeffrey-opdam May 9, 2017
6e74586
Fixed failing controller tests. The builder needs to be set up in the…
May 11, 2017
26edd9a
Merge pull request #21 from ALM-Rangers/rob_controller_tests
rjarrattmsft May 12, 2017
19f0594
Updated the Random generator to RNGCryptoServiceProvider, so the gene…
jeffrey-opdam May 12, 2017
8daa624
Added test categories and applied them. Renamed Acceptance tests to B…
May 13, 2017
890736b
Jo 13289 (#20)
jeffrey-opdam May 13, 2017
87dc941
Fixed minor inspection warnings.
almguru May 13, 2017
2c39b62
Renamed IProfileService to IVstsService as it serves not only profile…
almguru May 13, 2017
1401ee1
Cleaned up documentation. (#24)
jeffrey-opdam May 14, 2017
6b9015b
Merged
May 14, 2017
a3faa74
Merge pull request #22 from ALM-Rangers/rob_test_coverage
rjarrattmsft May 14, 2017
943e004
Missed the change to the custom dictionary . This broke the build
May 14, 2017
539142f
Merge pull request #26 from ALM-Rangers/rob_test_coverage
rjarrattmsft May 14, 2017
7dafa5c
Implemented reading VSTS projects. Added basic unit tests.
almguru May 14, 2017
2f0d5be
Resolved conflicts
almguru May 14, 2017
1c2c3ed
Reordered using
almguru May 14, 2017
86d7138
Merge pull request #25 from ALM-Rangers/feature/13139_Connect_to_a_Te…
almguru May 14, 2017
ef27513
Acceptance tests welcome (#27)
jeffrey-opdam May 14, 2017
20e9ad6
Moved TestCategories class into a separate common test project. Appli…
May 15, 2017
d0dae0e
Merged
May 15, 2017
d3c6340
Getting some info from console.
jeffrey-opdam May 15, 2017
4d513b8
showing bot id information.
jeffrey-opdam May 15, 2017
6706b75
Reverted logging stuff.
jeffrey-opdam May 15, 2017
3c4301c
Merge pull request #29 from ALM-Rangers/rob_test_coverage
rjarrattmsft May 16, 2017
3cc7624
Updated test category to use common class rather then string.
almguru May 17, 2017
4f05a4d
Removed commented code.
almguru May 17, 2017
8b22578
issue with the authorization scope. Fixed.
jeffrey-opdam May 18, 2017
d549c17
Merge branch 'Development' of https://github.com/ALM-Rangers/Team-Ser…
jeffrey-opdam May 18, 2017
0b537bd
Merge remote-tracking branch 'origin/Development' into feature/13139_…
almguru May 25, 2017
5529d59
Implemented project selection
almguru May 25, 2017
b2e610b
Refactored usage of IVstsAccount in ConnectDialog. Fixed tests.
almguru May 26, 2017
57c83a7
Merge pull request #30 from ALM-Rangers/feature/13139_Connect_to_a_Te…
almguru May 27, 2017
e4f742d
Feature/13280 jo (#31)
jeffrey-opdam May 28, 2017
8cc297c
Feature/13280 jo (#32)
jeffrey-opdam May 28, 2017
866a1c6
Fixed warning
jeffrey-opdam May 28, 2017
135038c
Fixed tests.
jeffrey-opdam May 28, 2017
b25dc6a
Reduced cognitive complexity
almguru Jun 3, 2017
f1ea44e
Improved method naming and disposed connection object.
almguru Jun 3, 2017
9fe9764
Feature/jo refactoring root and connect dialogs (#33)
jeffrey-opdam Jun 4, 2017
7b88e39
Resolved conflicts during merge.
almguru Jun 4, 2017
4586a9b
Added runsettings.
jeffrey-opdam Jun 4, 2017
7d319f6
Changed to include.
jeffrey-opdam Jun 4, 2017
203a7ff
fixing runsettings
jeffrey-opdam Jun 4, 2017
89fa178
Fixing runsettings
jeffrey-opdam Jun 4, 2017
678bcf6
Final,
jeffrey-opdam Jun 4, 2017
31cd40b
Fixed the issue
jeffrey-opdam Jun 4, 2017
decf56b
Fixed issue with tests. Changed the welcome message.
jeffrey-opdam Jun 4, 2017
be24c95
Feature/jo refactor msg controller tests (#35)
jeffrey-opdam Jun 5, 2017
ac4bdc8
Feature/jo more refactoring (#36)
jeffrey-opdam Jun 6, 2017
1940bcc
Merge remote-tracking branch 'origin/Development' into feature/13140_…
almguru Jun 11, 2017
00cdf89
Added reading of build definitions.
almguru Jun 12, 2017
c323add
Fixed continious login prompt.
almguru Jun 22, 2017
f2ef0a4
Fixed GetAccountsTest
almguru Jun 22, 2017
4d6572e
Added tests.
almguru Jun 22, 2017
898a58e
Added unit tests for VstsService.
almguru Jun 23, 2017
6f439b0
Minor formatting changes.
almguru Jun 24, 2017
6721335
Update the third party party notices file to reference all OSS librar…
Jun 25, 2017
b512302
Updated NuGet packages
almguru Jun 26, 2017
109fd25
Added missing method description.
almguru Jun 26, 2017
76a5f74
Fixed NuGet references. Added missing analyzers.
almguru Jun 26, 2017
c1dff27
Implemented unit tests for VstsService.ChangeApprovalStatus() and Vst…
almguru Jun 26, 2017
bcd023b
Removed unused reference.
almguru Jun 26, 2017
d3c3dc6
Merge pull request #39 from ALM-Rangers/feature/13140_List_Build_Defi…
almguru Jun 26, 2017
c359682
Feature/jo acceptance tests (#38)
jeffrey-opdam Jun 27, 2017
a2533f3
Feature/jo acceptance tests (#40)
jeffrey-opdam Jun 27, 2017
2b7e311
Feature/jo acceptance tests (#41)
jeffrey-opdam Jun 27, 2017
f201b0e
Feature/jo acceptance tests (#42)
jeffrey-opdam Jun 27, 2017
9a80e85
Added re initialize of the refreshtoken
jeffrey-opdam Jun 27, 2017
7617fae
Check refreshtoken
jeffrey-opdam Jun 27, 2017
bea6f1a
debug info
jeffrey-opdam Jun 27, 2017
549c4b8
Removed Console.WriteLine
jeffrey-opdam Jun 27, 2017
c84eb5b
Now using the id
jeffrey-opdam Jun 27, 2017
9b0f8d8
Exception handling
jeffrey-opdam Jun 27, 2017
69c672c
Removed Fakes warnigns
almguru Jun 28, 2017
7d9347d
added the authorizeurl
jeffrey-opdam Jun 28, 2017
6dd1a60
Another addition
jeffrey-opdam Jun 28, 2017
345ed75
more logging
jeffrey-opdam Jun 28, 2017
c819cdc
More debug info
jeffrey-opdam Jun 28, 2017
7b0dcb9
Debug info
jeffrey-opdam Jun 28, 2017
25a25af
Small refactor.
jeffrey-opdam Jun 28, 2017
1e772e2
AGAIN
jeffrey-opdam Jun 28, 2017
2cd410c
again
jeffrey-opdam Jun 28, 2017
5c7aa91
Debug
jeffrey-opdam Jun 28, 2017
470039d
Update Team-Services-Bot.runsettings
jeffrey-opdam Jun 28, 2017
545420f
Removed all the debug lines.
jeffrey-opdam Jun 28, 2017
bd2f985
Merge branch 'Development' of https://github.com/ALM-Rangers/Team-Ser…
jeffrey-opdam Jun 28, 2017
bbeae5d
Fixed VSTS Tests
almguru Jun 28, 2017
1919904
Removed Fakes warnings (#44)
almguru Jun 28, 2017
b369175
Feature/jo pages (#45)
jeffrey-opdam Jun 28, 2017
ae69b15
Merge remote-tracking branch 'origin/Development' into feature/13140_…
almguru Jun 29, 2017
b3cb0c0
Updated ChangeApprovalStatusTest to match changed method under test.
almguru Jun 29, 2017
7489891
Corrected formatting.
almguru Jun 29, 2017
497356c
Corrected formatting
almguru Jun 29, 2017
7009e64
Merge pull request #46 from ALM-Rangers/feature/13140_List_Build_Defi…
almguru Jun 29, 2017
3f8471a
Added unit tests for uncovered methods in VstsService class
almguru Jun 29, 2017
01e59bf
Merge pull request #47 from ALM-Rangers/feature/13140_List_Build_Defi…
almguru Jun 30, 2017
e76c890
Temporarily removed account Uri lookup. (#48)
almguru Jun 30, 2017
539f30e
Updated readme.
jeffrey-opdam Jul 2, 2017
95c26ec
Added Vladimir as contributor.
jeffrey-opdam Jul 2, 2017
4afe398
Simplified connecting to VSTS.
jeffrey-opdam Jul 3, 2017
932b24c
Feature/13140 list build definitions (#49)
jeffrey-opdam Jul 4, 2017
81de883
Feature/13140 list build definitions (#50)
jeffrey-opdam Jul 4, 2017
40ecc55
Changed type to Index.cshtml of authorize to content
jeffrey-opdam Jul 9, 2017
0611d6b
Added feature to clear user data.
jeffrey-opdam Jul 9, 2017
86e56b6
Features/13141 jo (#51)
jeffrey-opdam Jul 17, 2017
7dabfad
Features/13142 jo (#52)
jeffrey-opdam Jul 22, 2017
9b3ba14
Fixed error handling in AuthorizeController
almguru Jul 24, 2017
208a246
added scope configuration value (#55)
pierowman Jul 25, 2017
a7214df
fixed issue with unit tests
jeffrey-opdam Jul 25, 2017
be137fe
Restored back default name for AppSettings configuration file.
almguru Jul 30, 2017
7f56a93
Merge pull request #53 from ALM-Rangers/feature/1354_-_Exception_Hand…
almguru Jul 30, 2017
245f3b1
Update shims files
jeffrey-opdam Jul 30, 2017
879f4f0
Joined null checks with assigments.
jeffrey-opdam Jul 30, 2017
301509a
Added Guards to VSTSService
jeffrey-opdam Jul 30, 2017
0174e33
Feature/13290 jo (#56)
jeffrey-opdam Jul 31, 2017
a7ce6cb
Feature/naming convention (#58)
jeffrey-opdam Aug 1, 2017
50324e0
Update README.md
jeffrey-opdam Aug 1, 2017
bb264c7
Feature/jo refactorings (#59)
jeffrey-opdam Aug 3, 2017
30d6111
Updated AppSettings
jeffrey-opdam Aug 7, 2017
43f7fac
Added check if a team project from the list is selected. (#60)
jeffrey-opdam Aug 9, 2017
f8da727
Merge
jeffrey-opdam Aug 9, 2017
99b5239
Updated notice, so it uses the official name of the VSTS Bot.
jeffrey-opdam Aug 9, 2017
6719b20
Fixed issue with ignore change bat files.
jeffrey-opdam Aug 11, 2017
4d3499e
Merged
jeffrey-opdam Aug 11, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions Git-Ignore-Changes-Undo.bat
@@ -1,3 +1,3 @@
git.exe update-index --no-skip-worktree src\Team-Services-Bot.runsettings
git.exe update-index --no-skip-worktree src\Team-Services-Bot.Api\AppSettings.config
git.exe update-index --no-skip-worktree src\VSTS-Bot.runsettings
git.exe update-index --no-skip-worktree src\VSTS-Bot.Api\AppSettings.config
pause
4 changes: 2 additions & 2 deletions Git-Ignore-Changes.bat
@@ -1,3 +1,3 @@
git.exe update-index --skip-worktree src\Team-Services-Bot.runsettings
git.exe update-index --skip-worktree src\Team-Services-Bot.Api\AppSettings.config
git.exe update-index --skip-worktree src\VSTS-Bot.runsettings
git.exe update-index --skip-worktree src\VSTS-Bot.Api\AppSettings.config
pause
10 changes: 5 additions & 5 deletions src/VSTS-Bot.Api/AppSettings.config
Expand Up @@ -6,13 +6,13 @@
<add key="UnobtrusiveJavaScriptEnabled" value="true" />

<!-- update these with your BotId, Microsoft App Id and your Microsoft App Password-->
<add key="AppId" value="D20DF677-B8CF-4B04-B6AE-6F498DA76B9B" />
<add key="AppSecret" value="eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Im9PdmN6NU1fN3AtSGpJS2xGWHo5M3VfVjBabyJ9.eyJjaWQiOiJkMjBkZjY3Ny1iOGNmLTRiMDQtYjZhZS02ZjQ5OGRhNzZiOWIiLCJjc2kiOiIxMzlkNmE2Zi03Y2ZjLTQzMDktODZlYy0xYWJhZWZjZjNkY2IiLCJuYW1laWQiOiI1MDBiMTY2Mi0wZDFkLTRkZDQtOTY3Yi02MGMzOTZhNDJiOGQiLCJpc3MiOiJhcHAudnNzcHMudmlzdWFsc3R1ZGlvLmNvbSIsImF1ZCI6ImFwcC52c3Nwcy52aXN1YWxzdHVkaW8uY29tIiwibmJmIjoxNDk5MTA3Nzk2LCJleHAiOjE2NTY4NzQxOTZ9.ELscxFWtNYndeuSC9DxOvlwXc-Mkv2NarzPfTzzC0tlCjFy6MTQvN8NLHjUD_RFcvYm8qtPqjpBbLrKG1bz4i0q13SG15j7LcsFa-yYopIQcv2lWtRY6rJ6VUaMQkrhFAECwBNiuB_QjcBskSm8K7WpJo0os_n_ddhFKyIiO4kCOajUaynijhr0YOA498pjpmXFvZkXwoBqmsAyRrbpvkuYpF3kz6pHNUHc1AtQmC_xf15yiaL_Doti1WkQsAZlTuGi_KpNVWrc-djEGtmDm4LQ9pXegQt_nmGO0Ii0zc3i-oG53aqMSymbUls_bqzSBC7nh5vxQK_Y8-VPA28xvFA" />
<add key="AppId" value="" />
<add key="AppSecret" value="" />
<add key="AppScope" value="vso.agentpools_manage%20vso.build_execute%20vso.chat_manage%20vso.code_manage%20vso.code_status%20vso.connected_server%20vso.dashboards%20vso.dashboards_manage%20vso.entitlements%20vso.extension.data_write%20vso.extension_manage%20vso.gallery_acquire%20vso.gallery_manage%20vso.identity%20vso.loadtest_write%20vso.notification_manage%20vso.packaging_manage%20vso.profile_write%20vso.project_manage%20vso.release_manage%20vso.security_manage%20vso.serviceendpoint_manage%20vso.taskgroups_manage%20vso.test_write%20vso.work_write"/>
<add key="AuthorizeUrl" value="https://eb16a9ae.ngrok.io/authorize" />
<add key="AuthorizeUrl" value="" />
<add key="EmulatorListeningUrl" value="" />
<add key="InstrumentationKey" value="" />
<add key="BotId" value="Moya" />
<add key="MicrosoftAppId" value="4a6cfbb9-8d0a-48b0-b829-69524ae5bff6" />
<add key="MicrosoftAppPassword" value="Yo8q6AtKOpMVotTy7hJDDYk" />
<add key="MicrosoftAppId" value="" />
<add key="MicrosoftAppPassword" value="" />
</appSettings>