Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: microsoft/mail2bug
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: brianstringfellow/mail2bug
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.

Commits on Jul 7, 2015

  1. Copy the full SHA
    068c0e9 View commit details

Commits on Jul 20, 2015

  1. This version has ICMWorkItemManager added and all the necessary metho…

    …ds extended from IWorkItemManager. it works for all Add/Edit. attachment needs to be updated to work properly.
    thomasendale committed Jul 20, 2015
    Copy the full SHA
    75916f4 View commit details
  2. Removing unwanted checkin.

    strince committed Jul 20, 2015
    Copy the full SHA
    421e9fc View commit details

Commits on Jul 29, 2015

  1. Copy the full SHA
    a95c34a View commit details
  2. Cleaning up and refactoring

    strince committed Jul 29, 2015
    Copy the full SHA
    da902b9 View commit details
  3. Resolved conflicts

    strince committed Jul 29, 2015
    Copy the full SHA
    1d3e9d2 View commit details

Commits on Jul 30, 2015

  1. Copy the full SHA
    546ced9 View commit details

Commits on Aug 1, 2015

  1. Upload attachment is working. Refactored workItemId from Int32 to Int…

    …64. Using IncidentDefault object in XML.
    strince committed Aug 1, 2015
    Copy the full SHA
    f5522e2 View commit details

Commits on Aug 4, 2015

  1. Removing the caching exception inside createworkitem to make it consi…

    …stent with TFS and cache incidents once they are created.
    thomasendale committed Aug 4, 2015
    Copy the full SHA
    3f62cc0 View commit details

Commits on Aug 10, 2015

  1. cleaning up unused config items and fixing the bug which was creating…

    … ticket with default values from config.
    thomasendale committed Aug 10, 2015
    Copy the full SHA
    6cc3ec6 View commit details

Commits on Aug 11, 2015

  1. Copy the full SHA
    fd593bd View commit details

Commits on Aug 13, 2015

  1. removed caching new workitems once it's created as the method which g…

    …ets incident object from ICM isn't working as expected
    thomasendale committed Aug 13, 2015
    Copy the full SHA
    018e53d View commit details

Commits on Sep 1, 2015

  1. Copy the full SHA
    5290812 View commit details

Commits on Sep 14, 2015

  1. Adding response to email that do not match a configuration. Improving…

    … message handling with regards to IcM.
    strince committed Sep 14, 2015
    Copy the full SHA
    f19db72 View commit details

Commits on Sep 15, 2015

  1. Copy the full SHA
    ac2f685 View commit details

Commits on Sep 28, 2015

  1. Adjust email poll rate to pause 10 seconds (was 1 s). Add '.log' exte…

    …nsion for log4net output. Added rogue message existence check to avoid slow loading of 'Rogue' folder.
    strince committed Sep 28, 2015
    Copy the full SHA
    86ba5f7 View commit details

Commits on Oct 20, 2015

  1. Copy the full SHA
    bc9968f View commit details

Commits on Nov 20, 2015

  1. Copy the full SHA
    2a56ab6 View commit details

Commits on Feb 1, 2016

  1. Copy the full SHA
    d67a028 View commit details

Commits on Feb 24, 2016

  1. Update IcmWorkItemManager.cs

    support correlation rule
    liaxu committed Feb 24, 2016
    Copy the full SHA
    2de3a8f View commit details

Commits on Mar 1, 2016

  1. Merge pull request #1 from liaxu/patch-1

    Update IcmWorkItemManager.cs
    strince committed Mar 1, 2016
    Copy the full SHA
    a3fad8f View commit details

Commits on Mar 25, 2016

  1. Copy the full SHA
    31bcc20 View commit details

Commits on Apr 6, 2016

  1. Adding logging to Aria.

    Improving cache query time.
    Adding SQLite database to store ConversationId & IncidentId cache.
    strince committed Apr 6, 2016
    Copy the full SHA
    d707d09 View commit details
  2. Enable local cache retrieval and remove IcM query to build up cache e…

    …ach time. Remove dead code.
    strince committed Apr 6, 2016
    Copy the full SHA
    dbf7e9a View commit details

Commits on May 2, 2016

  1. Merging pull request

    strince committed May 2, 2016
    Copy the full SHA
    5bbf87e View commit details

Commits on May 6, 2016

  1. Update IcM library to pull from Nuget.

    Modify work item creation to set overrides BEFORE creating the item.
    strince committed May 6, 2016
    Copy the full SHA
    791e9a9 View commit details
  2. Copy the full SHA
    5eac11a View commit details

Commits on Dec 6, 2016

  1. Copy the full SHA
    9d9d42c View commit details
Showing with 14,964 additions and 1,944 deletions.
  1. +4 −94 .gitignore
  2. +49 −27 Mail2Bug/App.config
  3. +192 −101 Mail2Bug/Config.cs
  4. +15 −4 Mail2Bug/Email/AckEmailHandler.cs
  5. +250 −108 Mail2Bug/Email/EWS/EWSConnectionManager.cs
  6. +0 −117 Mail2Bug/Email/EWS/EWSConnectionManger.cs
  7. +12 −2 Mail2Bug/Email/EWS/EWSIncomingMessage.cs
  8. +69 −38 Mail2Bug/Email/EWS/EWSMailFolder.cs
  9. +8 −9 Mail2Bug/Email/EWS/IMailFolder.cs
  10. +46 −31 Mail2Bug/Email/EWS/RecipientsMailboxManagerRouter.cs
  11. +0 −7 Mail2Bug/Email/IMailSender.cs
  12. +13 −14 Mail2Bug/Email/MailboxManagerFactory.cs
  13. +1 −0 Mail2Bug/Helpers/FileUtils.cs
  14. +10 −0 Mail2Bug/Mail2Bug.IcmIncidentsApiODataReference.Container1.datasource
  15. +10 −0 Mail2Bug/Mail2Bug.IcmOnCallApiODataReference.Container1.datasource
  16. +323 −157 Mail2Bug/Mail2Bug.csproj
  17. +76 −62 Mail2Bug/Mail2BugEngine.cs
  18. +284 −249 Mail2Bug/Main.cs
  19. +56 −0 Mail2Bug/MessageProcessingStrategies/IcmNameResolver.cs
  20. +182 −169 Mail2Bug/MessageProcessingStrategies/SimpleBugStrategy.cs
  21. +16 −0 Mail2Bug/MessageProcessingStrategies/SpecialValueResolver.cs
  22. +231 −0 Mail2Bug/Resources/FullyAnnotatedConfigReference.xml
  23. +254 −0 Mail2Bug/Resources/Mail2ICMConfigExample.xml
  24. +50 −0 Mail2Bug/Resources/ReplyTemplateExample.htm
  25. BIN Mail2Bug/Resources/pubbugs.bin
  26. +1 −0 Mail2Bug/Resources/query.txt
  27. +1 −0 Mail2Bug/Resources/query.wiq
  28. +3,906 −0 Mail2Bug/Service References/IcmIncidentsApiODataReference/Reference.cs
  29. +16 −0 Mail2Bug/Service References/IcmIncidentsApiODataReference/Reference.datasvcmap
  30. +277 −0 Mail2Bug/Service References/IcmIncidentsApiODataReference/service.edmx
  31. +3,906 −0 Mail2Bug/Service References/IcmOnCallApiODataReference/Reference.cs
  32. +16 −0 Mail2Bug/Service References/IcmOnCallApiODataReference/Reference.datasvcmap
  33. +277 −0 Mail2Bug/Service References/IcmOnCallApiODataReference/service.edmx
  34. +247 −0 Mail2Bug/WorkItemManagement/FieldNames.cs
  35. +22 −24 Mail2Bug/WorkItemManagement/IWorkItemManager.cs
  36. +96 −0 Mail2Bug/WorkItemManagement/IcmODataClient.cs
  37. +527 −0 Mail2Bug/WorkItemManagement/IcmWorkItemManager.cs
  38. +16 −13 Mail2Bug/WorkItemManagement/MessageToWorkItemMapper.cs
  39. +467 −445 Mail2Bug/WorkItemManagement/TFSWorkItemManager.cs
  40. +126 −126 Mail2Bug/WorkItemManagement/WorkItemManagerMock.cs
  41. +2 −1 Mail2Bug/log4net.config
  42. +24 −7 Mail2Bug/packages.config
  43. +156 −137 Mail2BugUnitTests/Mail2BugUnitTests.csproj
  44. +4 −2 Mail2BugUnitTests/SimpleBugStrategyUnitTest.cs
  45. +49 −0 Mail2BugUnitTests/WorkItemManagement/IcmODataClientTest.cs
  46. +83 −0 Mail2BugUnitTests/WorkItemManagement/IcmWorkItemManagementUnitTest.cs
  47. +120 −0 Mail2BugUnitTests/WorkItemManagement/IcmWorkItemManagerTest.cs
  48. +2 −0 Mail2BugUnitTests/packages.config
  49. +2,468 −0 Public/IcmConnectorSdk/HtmlAgilityPack.xml
  50. +4 −0 Public/IcmConnectorSdk/Notes.txt
98 changes: 4 additions & 94 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,95 +1,5 @@
# Compiled source #
###################

*.com
*.class
*.dll
*.exe
*.o
*.so
*.pdb
obj/
objd/
bin/

#Visual Studio files
*.[Oo]bj
*.user
*.aps
*.pch
*.vspscc
*.vssscc
*_i.c
*_p.c
*.ncb
*.suo
*.tlb
*.tlh
*.bak
*.[Cc]ache
*.ilk
*.log
*.lib
*.sbr
*.sdf
*.opensdf
*.unsuccessfulbuild
ipch/
[Oo]bj/
[Bb]in
[Dd]ebug*/
[Rr]elease*/
TestResults/
Ankh.NoLoad
pingme.txt



# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods

*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip

# Logs and databases #
######################

*.log
*.sql
*.sqlite



# OS generated files #
######################

.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db


# Temp vim files #
##################
*.swp
*~

# Nuget packages - we don't want them as part of the repository
# Instead, we'd like them to be restored during the build
# See also: http://docs.nuget.org/docs/workflows/using-nuget-without-committing-packages
# #############################################################

/packages/
*.nupkg
################################################################################
# This .gitignore file was automatically created by Microsoft(R) Visual Studio.
################################################################################

/obj
76 changes: 49 additions & 27 deletions Mail2Bug/App.config
Original file line number Diff line number Diff line change
@@ -1,28 +1,50 @@
<?xml version="1.0"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
</startup>
<appSettings>
<add key="Iterations" value="200" />
<add key="IntervalInSeconds" value="1" />
<add key="UseThreads" value="false" />
<add key="ConfigPath" value="Resources" />
<add key="ConfigFilePattern" value="Mail2BugConfig*.xml" />
<add key="log4net.Config" value="log4net.config" />
<add key="log4net.Config.Watch" value="True" />
<add key="ClientSettingsProvider.ServiceUri" value="" />
</appSettings>
<system.web>
<membership defaultProvider="ClientAuthenticationMembershipProvider">
<providers>
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
</providers>
</membership>
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
<providers>
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
</providers>
</roleManager>
</system.web>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
</startup>
<appSettings>
<add key="Iterations" value="30" />
<add key="IntervalInSeconds" value="10" />
<add key="UseThreads" value="false" />
<add key="ConfigPath" value="Resources" />
<add key="ConfigFilePattern" value="Mail2Icm*.xml" />
<add key="log4net.Config" value="log4net.config" />
<add key="log4net.Config.Watch" value="True" />
<add key="ClientSettingsProvider.ServiceUri" value="" />
<add key="AriaTenantToken" value="XXXXXXXXXXXXXXXXXXXXXXXXXXXXX" />
</appSettings>
<system.web>
<membership defaultProvider="ClientAuthenticationMembershipProvider">
<providers>
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
</providers>
</membership>
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
<providers>
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
</providers>
</roleManager>
</system.web>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
<parameters>
<parameter value="v12.0" />
</parameters>
</defaultConnectionFactory>
<providers>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
<provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
</providers>
</entityFramework>
<system.data>
<DbProviderFactories>
<remove invariant="System.Data.SQLite.EF6" />
<add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
<remove invariant="System.Data.SQLite" /><add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" /></DbProviderFactories>
</system.data>
</configuration>
Loading