Skip to content

Commit

Permalink
chors: test nrgox jenkins webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
mtai0524 committed Oct 12, 2024
1 parent a310261 commit 0be03f7
Show file tree
Hide file tree
Showing 8 changed files with 72 additions and 4 deletions.
2 changes: 1 addition & 1 deletion NotaionWebApp/Notaion/Controllers/ApiAccountController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public AccountsController(IAccountRepository repo, UserManager<User> userManager

}

[HttpGet("get-users-demo-jenkins-cicd-monster-asp")]
[HttpGet("get-users-demo-jenkins-cicd-ngrox-8080")]
public async Task<IActionResult> GetAllUser()
{
var user = await _context.User.
Expand Down
4 changes: 3 additions & 1 deletion NotaionWebApp/Notaion/Controllers/ChatPrivateController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,13 @@ public async Task<IActionResult> GetChatsPrivate(string currentUserId, string fr
[HttpPost("add-chat-private")]
public async Task<IActionResult> AddChat([FromBody] ChatPrivateViewModel chatViewModel)
{
var vietnamTimeZone = TimeZoneInfo.FindSystemTimeZoneById("SE Asia Standard Time");
var vietnamTime = TimeZoneInfo.ConvertTimeFromUtc(DateTime.UtcNow, vietnamTimeZone);
var chatPrivate = new ChatPrivate
{
Id = Guid.NewGuid().ToString(),
Content = chatViewModel.Content,
SentDate = DateTime.UtcNow,
SentDate = vietnamTime,
Sender = chatViewModel.SenderId,
Receiver = chatViewModel.ReceiverId,
Hide = false,
Expand Down
2 changes: 1 addition & 1 deletion NotaionWebApp/Notaion/Notaion.csproj.user
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<ActiveDebugProfile>https</ActiveDebugProfile>
<Controller_SelectedScaffolderID>ApiControllerEmptyScaffolder</Controller_SelectedScaffolderID>
<Controller_SelectedScaffolderCategoryPath>root/Common/Api</Controller_SelectedScaffolderCategoryPath>
<NameOfLastUsedPublishProfile>T:\chat-console\NotaionWebApp\Notaion\Properties\PublishProfiles\site8642-WebDeploy.pubxml</NameOfLastUsedPublishProfile>
<NameOfLastUsedPublishProfile>T:\notaion-backend\NotaionWebApp\Notaion\Properties\PublishProfiles\FolderProfile1.pubxml</NameOfLastUsedPublishProfile>
<WebStackScaffolding_ControllerDialogWidth>650</WebStackScaffolding_ControllerDialogWidth>
<WebStackScaffolding_IsLayoutPageSelected>True</WebStackScaffolding_IsLayoutPageSelected>
<WebStackScaffolding_IsPartialViewSelected>False</WebStackScaffolding_IsPartialViewSelected>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<DeleteExistingFiles>false</DeleteExistingFiles>
<ExcludeApp_Data>false</ExcludeApp_Data>
<LaunchSiteAfterPublish>true</LaunchSiteAfterPublish>
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<PublishProvider>FileSystem</PublishProvider>
<PublishUrl>T:\IIS_NOTAION</PublishUrl>
<WebPublishMethod>FileSystem</WebPublishMethod>
<_TargetId>Folder</_TargetId>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<_PublishTargetUrl>T:\IIS_NOTAION</_PublishTargetUrl>
<History>True|2024-10-12T13:44:23.3664909Z||;</History>
<LastFailureDetails />
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<PropertyGroup>
<TimeStampOfAssociatedLegacyPublishXmlFile />
<EncryptedPassword>AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA45ACkv6Ev0Gy7utx8HyVkgAAAAACAAAAAAAQZgAAAAEAACAAAADt6gGmRVIjnbaiDax3F93mlKpIeUhVHT+QNfCxsVogcQAAAAAOgAAAAAIAACAAAADd23XUu4vTiBfFcWV/DKkdqwDLyT/QpDdUocDeWnTaqyAAAAC3jLstCUJ56wUbjH02t5at+elzIe7YE9T9sS7wPrsWFEAAAACWCjF91STA35xM3gqt0vIo2/z72VVCVcQowDBOHGGqnv1E6JahVYXCJS2V49eGWUue6rcUlCVXuwrs0uKnlSAJ</EncryptedPassword>
<History>True|2024-09-30T04:31:19.9416300Z||;True|2024-09-29T22:14:09.2891238+07:00||;True|2024-09-29T22:05:05.4207831+07:00||;False|2024-09-29T22:03:26.0452715+07:00||;True|2024-09-29T21:48:51.3330803+07:00||;</History>
<History>False|2024-10-08T10:10:32.8934697Z||;True|2024-09-30T11:31:19.9416300+07:00||;True|2024-09-29T22:14:09.2891238+07:00||;True|2024-09-29T22:05:05.4207831+07:00||;False|2024-09-29T22:03:26.0452715+07:00||;True|2024-09-29T21:48:51.3330803+07:00||;</History>
<LastFailureDetails />
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is used by the publish/package process of your Web project. You can customize the behavior of this process
by editing this MSBuild file. In order to learn more about this please visit https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<WebPublishMethod>MSDeploy</WebPublishMethod>
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<SiteUrlToLaunchAfterPublish>http://notaion.runasp.net/</SiteUrlToLaunchAfterPublish>
<LaunchSiteAfterPublish>true</LaunchSiteAfterPublish>
<ExcludeApp_Data>false</ExcludeApp_Data>
<ProjectGuid>ef90ac04-f263-48d1-ac7f-50e4d835e8d6</ProjectGuid>
<MSDeployServiceURL>site8642.siteasp.net</MSDeployServiceURL>
<DeployIisAppPath>site8642</DeployIisAppPath>
<RemoteSitePhysicalPath />
<SkipExtraFilesOnServer>true</SkipExtraFilesOnServer>
<MSDeployPublishMethod>WMSVC</MSDeployPublishMethod>
<EnableMSDeployBackup>true</EnableMSDeployBackup>
<EnableMsDeployAppOffline>true</EnableMsDeployAppOffline>
<UserName>site8642</UserName>
<_SavePWD>true</_SavePWD>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is used by the publish/package process of your Web project. You can customize the behavior of this process
by editing this MSBuild file. In order to learn more about this please visit https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<TimeStampOfAssociatedLegacyPublishXmlFile />
<EncryptedPassword>AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA45ACkv6Ev0Gy7utx8HyVkgAAAAACAAAAAAAQZgAAAAEAACAAAABSm0dADuKEoSXI2PM3/C+djjsZNaNJvaNktK2zzOh0ZQAAAAAOgAAAAAIAACAAAAAaubSe329ikteIzbdUehSGkeEFWcMirIFoj/tBJlG3PCAAAAAaOwJII3B0tuPaPOzYnGrfQAgIQnX5FDaCdhlVr8BQDEAAAADxwckrnekLCzuMBtAKkP1cCWMOulRqdqFNLxcPxe9HXD/Y0JACDx7eUDw/7grdO/SQQKIkbvxPSZZdbFnGYkiS</EncryptedPassword>
<History>True|2024-10-08T10:12:03.4740526Z||;</History>
<LastFailureDetails />
</PropertyGroup>
</Project>

0 comments on commit 0be03f7

Please sign in to comment.