Commit Graph

712 Commits (e7c869b9bd77fb34ce5f75e725a9d43737d30745)

Author SHA1 Message Date
Michael Kriese e7c869b9bd
fix unhandled exception when signaling service stoped 2023-02-01 13:41:09 +01:00
Next Turn 6cf303c1d3
Upgrade to .NET 7 (#1004) 2023-01-30 11:46:26 +08:00
Michael Kriese 5498f3a7f1
fix: wrong yaml schema for `logPath` (#964) 2023-01-29 16:44:35 +08:00
Frederico Silva be397b9507
config: yaml, fix BASE environment variable typo (#874) 2023-01-29 16:07:31 +08:00
Next Turn eef5bade59
Fix build pipelines (#999) 2023-01-19 22:03:31 +08:00
Next Turn 9bfc034807
Fix download exceptions when ignoring errors (#854) 2021-08-09 13:50:53 +08:00
Next Turn 20846238ea
Upgrade to .NET 6 (#807)
* Upgrade to .NET 6

* Bump Codecov.Tool to 1.13.0

* Don't treat ILLink warnings as errors

* Update build.yml
2021-08-09 11:47:34 +08:00
Richard Fawcett e380e6c64e
Fixed bug constructing command-line for elevated process in .NET 5 (#784) 2021-03-18 00:01:17 +08:00
Next Turn 2edcee7f49
Remove `<*argument>` from docs (#771) 2021-01-02 12:51:06 +08:00
Next Turn ad5f78b3c5
Backport redirection updates (#770) 2021-01-01 22:37:31 +08:00
Next Turn c49d50381e
Rework Shared Directory Mapper (#765) 2020-12-30 17:14:40 +08:00
Next Turn 5a95c760a5
Make release drafter run manually (#763) 2020-12-30 01:06:54 +08:00
Next Turn c19e48b943
Allow rotating logs monthly (#761) 2020-12-29 02:31:34 +08:00
Buddhika Chathuranga 11d09aa6ae
Fix inconsistencies in YAML config (#678) 2020-12-28 23:39:44 +08:00
Buddhika Chathuranga 027a8d30e3
Environment variable expansion in extensions (#677) 2020-12-28 20:16:03 +08:00
Next Turn 2c86e14dec
Enhance console prompting (#759) 2020-12-28 05:13:04 +08:00
Next Turn 8b06b6157d
Backport logging updates (#755) 2020-12-27 01:05:46 +08:00
Next Turn 48015a5d7a
Redirect I/O of elevated process (#719) 2020-12-26 20:20:23 +08:00
NextTurn 03930a23d2
Backport command updates (#751) 2020-12-26 20:20:22 +08:00
Next Turn 16c6aa9c08
Set console output code page to UTF-8 (#753) 2020-12-26 20:20:17 +08:00
Next Turn 4f7e623602
Update build.yml (#748) 2020-12-25 00:16:21 +08:00
Next Turn 8cc17b5aa6
Leave STDIN open (#738) 2020-12-09 01:39:37 +08:00
Next Turn 16bbefdaae
Backport process util updates (#737) 2020-12-09 01:26:52 +08:00
Next Turn d1ae60975e
Backport diagnosability updates (#736) 2020-12-09 01:14:27 +08:00
Next Turn 1bd0c56a09
Style updates (#735) 2020-12-09 00:48:19 +08:00
Next Turn 820f46e6bf
Upgrade build flows (#729) 2020-12-08 01:59:24 +08:00
Next Turn f4dcdfc73e
Disable Codecov pull request comments (#716) 2020-11-13 17:45:53 +08:00
Next Turn 1486f631d0
Drop WinSW.NETCore31.zip (#715)
* Drop WinSW.NETCore31.zip

* Update XmlHelper.cs
2020-11-13 17:40:49 +08:00
Oleg Nenashev 5a545ba54b
Merge pull request #694 from winsw/stdouterr
Leave STDOUT/STDERR open if not redirected
2020-10-08 22:27:11 +02:00
NextTurn d6bcbd6e1c
Leave STDOUT/STDERR open if not redirected 2020-10-07 22:42:34 +08:00
Buddhika Chathuranga 272c474b1b
Update YAML configuration documentation (#675)
* Link phase 3 demo into yaml config doc

* Update doc/yamlConfigFile.md

Co-authored-by: Next Turn <45985406+NextTurn@users.noreply.github.com>

Co-authored-by: Next Turn <45985406+NextTurn@users.noreply.github.com>
2020-09-15 16:19:15 +02:00
Next Turn 7c61b9c43c
Fix service crashes (#680) 2020-09-03 21:44:20 +08:00
Next Turn bff88217d3
Reorganize projects (#664) 2020-09-02 12:25:46 +08:00
Buddhika Chathuranga 6908d27557
JSON schema file for YAML configuration schema validation (#656)
* Create YamlConfigSchema.json

* Change file name

* Update YAML schema validation documentation

Fix typos

* Add descriptions to the configurations

* Update YAML schema validaion documentation

* Fix typo

* Update doc/yamlConfigurationSchema.json

* Update JSON shcema file

Co-authored-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2020-08-27 11:50:23 +02:00
Next Turn 43690d3e6a
Case-insensitive search for type name (#663) 2020-08-25 14:37:22 +02:00
Next Turn 9c513e8584
Fix installation crashes when `allowservicelogon` is `true` (#660) 2020-08-25 10:04:34 +08:00
Buddhika Chathuranga ba562f20f7
YAML extension support documentation (#655)
* Yaml extension support documentation

* Fixed Typos
2020-08-22 12:51:14 +02:00
albaltimore 149a91a88e
Fix securityDescriptor typo in xmlConfigFile.md (#653) 2020-08-22 08:20:40 +08:00
dependabot[bot] 878690f67a
Bump Microsoft.NET.Test.Sdk from 16.7.0 to 16.7.1 (#652)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.7.0 to 16.7.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.7.0...v16.7.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-21 14:23:35 +08:00
Buddhika Chathuranga 35dc0b11f0
YAML support for extension (#638)
* Yaml support for extensions

* Update RunawayProcessKillerTest.cs

* Update yaml_extension_support

Add unit test

* Update Yaml extension support

* Upate  extension yaml support

Remove old object query class and add methods to extension which can take yaml objects as aruments.

Add unit test for runawayprocesskiller for yaml support

* Use stong types instead object to manage extension confiuration with YAML

* Add unit test for SharedDirectoryMapper yaml config

* Update yaml extension support

Improve error messages
improve boolean parser
remove unncessary logs
2020-08-21 09:36:39 +08:00
Buddhika Chathuranga ef7ba3fe32
YAML config test coverage (#647)
* Update YAML config test coverage

* Increase config readability

* Update src/Core/WinSWCore/Configuration/YamlConfiguration.cs

* Update src/Core/WinSWCore/Configuration/YamlConfiguration.cs

Co-authored-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2020-08-21 08:05:19 +08:00
Yinux 348d524c79
Fix a case error in README.md (#644) 2020-08-12 15:17:10 +08:00
Buddhika Chathuranga 853e5aeec6
Support both XML and YAML configuration + Remove support for *.vshost files and folder hierarchy lookup which used to be an undocumented development features (#641)
* Sync with upstream (#3)

* Add a Dependabot configuration (#558)

* Add a Dependabot configuration

* Update dependabot.yml

* Bump NUnit3TestAdapter from 3.16.0 to 3.16.1 (#561)

Bumps [NUnit3TestAdapter](https://github.com/nunit/nunit3-vs-adapter) from 3.16.0 to 3.16.1.
- [Release notes](https://github.com/nunit/nunit3-vs-adapter/releases)
- [Commits](https://github.com/nunit/nunit3-vs-adapter/compare/V3.16...V3.16.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump Microsoft.NET.Test.Sdk from 16.4.0 to 16.6.1 (#563)

Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.4.0 to 16.6.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.4.0...v16.6.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ilmerge from 3.0.29 to 3.0.40 (#559)

* Bump ilmerge from 3.0.29 to 3.0.40

Bumps [ilmerge](https://github.com/dotnet/ILMerge) from 3.0.29 to 3.0.40.
- [Release notes](https://github.com/dotnet/ILMerge/releases)
- [Commits](https://github.com/dotnet/ILMerge/commits)

Signed-off-by: dependabot[bot] <support@github.com>

* Define $(ILMergeVersion)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Next Turn <45985406+NextTurn@users.noreply.github.com>

* Bump coverlet.collector from 1.2.0 to 1.3.0 (#560)

Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases)
- [Commits](https://github.com/coverlet-coverage/coverlet/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ilmerge from 3.0.40 to 3.0.41 (#571)

Bumps [ilmerge](https://github.com/dotnet/ILMerge) from 3.0.40 to 3.0.41.
- [Release notes](https://github.com/dotnet/ILMerge/releases)
- [Commits](https://github.com/dotnet/ILMerge/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Co-authored-by: Oleg Nenashev <o.v.nenashev@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Next Turn <45985406+NextTurn@users.noreply.github.com>

* Update winsw to work with both XML and YAML config

Add logic to select configuration type
Remove redundant codes for config file finding

* Update ConfigType.cs file encoding

* Reference yamlonfiguration.md file from the Readme.md

* Refactor yaml and xml support

Update  naming conventions in Readme.md
Remove ConfigType.cs

* Refactors

* Update Program.cs

* Remove recursive look for configurations file

Remove trimming .vshost extension in executable file name

* Update Program.cs

Co-authored-by: Oleg Nenashev <o.v.nenashev@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Next Turn <45985406+NextTurn@users.noreply.github.com>
2020-08-10 13:23:54 +02:00
dependabot[bot] 57dbe910cb
Bump Microsoft.NET.Test.Sdk from 16.6.1 to 16.7.0 (#637)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.6.1 to 16.7.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.6.1...v16.7.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-07 14:15:46 +08:00
Oleg Nenashev a7fb954f76
Merge pull request #629 from winsw/release-drafter-update
Update release Drafter to v5.11.0
2020-08-05 12:06:20 +02:00
Oleg Nenashev baa9bddd88
Update release Drafter to v5.11.0 2020-08-05 11:51:09 +02:00
Oleg Nenashev 0862d06905
Merge pull request #582 from NextTurn/filelen
Fix file length accumulation
2020-08-05 11:32:11 +02:00
Oleg Nenashev 35e05f0b35
Merge pull request #580 from NextTurn/stopparentfirst
Stop parent process first by default
2020-08-05 11:05:44 +02:00
Oleg Nenashev bf2a24c7a0
Merge pull request #569 from NextTurn/itemgroup
Remove unnecessary project items
2020-08-05 11:05:26 +02:00
Oleg Nenashev 62d10fe2fb
Merge branch 'master' into filelen 2020-08-05 11:03:39 +02:00