Oleg Nenashev
a01a22afd8
Merge branch 'master' into stopparentfirst
2020-08-05 10:59:52 +02:00
Buddhika Chathuranga
13cfe45490
Update Yaml Configuration support ( #596 )
...
* 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 Yaml Support
Add sample-allOption.yml
Update timespan values to aprse from strings. Now user can specify timespan values like 5sec.
Implement unimplemented properties in YmlConfiguration
* Update configurations namings
* Move ParseTimeSpan to seperate utility class
* Update Environment Variable Syntax
Now env variables support name: value: syntax
* Add YamlConfigFile.md
Add yaml user documentation
Update YamlSupport Unit test
* Update YamlConfigFile.md
Summerize the yaml documentation and reference the XmlConfigFile.md for more details
* Update YamlDoc
* Update doc/YamlConfigFile.md
Co-authored-by: Next Turn <45985406+NextTurn@users.noreply.github.com>
* Update yaml configurations to expand environment variables
* Update doc/YamlConfigFile.md
Co-authored-by: Next Turn <45985406+NextTurn@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>
2020-07-29 14:00:39 +02:00
NextTurn
7554d0ecbd
Fix file permission and line ending issues
2020-07-25 08:45:19 +08:00
Buddhika Chathuranga
10d3a6113f
YAML Configurations Support (GSoC - 2020) ( #543 )
...
* Add ServiceDesciptorYaml.cs
* Add YamlConfigurations.cs
YmlDotNet library added
* Update YamlConfigurations.cs
* Add download configuration to YamlConfiguration
* Revert "Add download configuration to YamlConfiguration"
This reverts commit f150de13b0 .
* Add ServiceDescriptrYaml unit test
Update YamlConfigurations.
* Confid files seperated
Download class refactored
Unit test updated
* Change nullable attributes.
* Refactor IWinSWConfiguration and Logging settings propagation
* Update YamlConfigurations.cs
* Update configuration FailureActions
* Update Yaml Confifurations
* Update YAML Configuration
* Update yaml configurations
* Update Yaml Configurations
* Yaml Configuration refactored
* Refactored YamlConfigurations
* Update serviceaccount and log configs
* YAML_SC_ACTION method name channged
* Refacored Download class. Field names changed to PascalCase readonly
* Add seperate download class to YamlConfigurations and create and return List<Download>
* Created DefaultWinSWSettings singleton
* Refactor variable name
* Update StopExecutable
* Nullable references updated
* Null references updated
* Add sanity checks for yaml deserializing.
* Implement Log Defaults
* Call logdefaults in YAMLConfigurations
* Update defaults value of ServiceAccout
If serviceaccoutn is not specified default ServiceAccount object will be provided from the Defautls.
* Merge build.yml with master
* Update YamlSeriviceDescriptor
Remove invalid Name field from ServiceAccout
Add BaseName logics to defults
merge build.yml with master
* Update IWinSWConfiguration Support
Now can use any IWinSWConfiguration type instead of ServiceDescriptor. We can use both ServiceDescriptor or ServiceDescriptorYaml.
* Update LogMode unit test
* ServiceAccount configurations refactored
Get all ServiceAccount configuration into a single ServiceAccout class.
* Update default BasePath
* Resolve Merge conflicts
* Resolve Merge Conflicts
* Update YamlDownload configs
* Fix null reference issue in arguments
* Update ServiceAccount configs in XML ServiceDescriptor
* remove BOM header
* Update environment variable configurations
Co-authored-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2020-07-21 18:57:27 +02:00
NextTurn
adf935725f
Stop parent process first by default
2020-07-16 15:14:50 +08:00
NextTurn
e116368fc4
Standardize coding styles
2020-07-13 09:19:30 +08:00
NextTurn
f9e0126cf8
Improve signal-related logging
2020-06-23 22:34:37 +08:00
Daniel
d18c5b237c
Fix outdated tag ( #548 )
...
* Fix outdated tag
* Replace logmode and rotate with log and roll
* Fix typo
* Fix quotes
* Fix quotes
2020-06-23 10:15:03 +08:00
NextTurn
f260d7e5d9
Reorganize interop codes
2020-05-19 00:23:09 +08:00
NextTurn
09cdb0a0ec
Support <startarguments> and <stoparguments>
2020-05-09 11:49:25 +08:00
Koraniar
d03e80cea6
Unit tests for custom proxy server
2020-05-04 12:04:19 -05:00
Koraniar
9c6518e246
Use credentials for proxy server
2020-05-01 20:11:10 -05:00
Koraniar
03fe39efeb
Use a custom proxy server
2020-04-30 09:30:31 -05:00
Next Turn
b8888c9a29
Prompt for elevation ( #457 )
...
* Prompt for elevation
* Add error messages for interop errors
* Assume process is elevated on Windows XP
Co-authored-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2020-04-19 09:04:50 +02:00
Oleg Nenashev
f2c17122bb
Merge pull request #511 from NextTurn/workingdir
...
Fix default working directory on .NET Core
2020-04-17 08:04:34 +02:00
NextTurn
ea6cb8062a
Remove strong name signing
2020-04-16 12:19:59 +08:00
NextTurn
55b8afe6b0
Fix default working directory on .NET Core
2020-04-15 14:21:26 +08:00
NextTurn
31af6fe11c
Remove dead codes
2020-04-13 09:44:26 +08:00
NextTurn
f4c40aba0e
Always set process priority if specified
2020-04-11 15:26:30 +08:00
NextTurn
459d5d7647
Increase code coverage
2020-04-11 14:08:12 +08:00
NextTurn
b0c09e1bb1
Enable strong cryptography when running on .NET Framework 4.6
2020-04-09 18:07:22 +08:00
NextTurn
505c2385c9
Enable system default TLS versions when targeting .NET Framework 4.6.1
2020-04-09 11:51:16 +08:00
NextTurn
fed55ba9d4
Fix versioning
2020-04-08 16:27:23 +08:00
Oleg Nenashev
9bae4caf90
Merge pull request #361 from NextTurn/expand
...
Ensure that environment variables are loaded before resolving configurations
2020-04-06 09:40:58 +02:00
Next Turn
5fcfe177af
Merge pull request #463 from NextTurn/nullable
...
Annotate for NRT
2020-03-31 23:52:07 +08:00
Oleg Nenashev
109e754813
Merge pull request #464 from NextTurn/domain
...
Fix default domain name
2020-03-31 11:19:47 +02:00
NextTurn
f83916d430
Load environment variables first
2020-03-31 13:45:51 +08:00
NextTurn
2c22e62aa0
Fix default domain name
2020-03-31 08:40:25 +08:00
NextTurn
ba6881a106
Annotate for NRT
2020-03-30 23:23:25 +08:00
NextTurn
750ac75dc6
Set description via advapi32
2020-03-29 17:16:01 +08:00
NextTurn
23c2202406
Support security descriptor string
2020-03-28 14:50:19 +08:00
Next Turn
3f58cdef68
Merge pull request #357 from NextTurn/emit
...
Optimize DynamicProxy
2020-03-28 00:01:02 +08:00
Next Turn
6280a688ed
Merge pull request #362 from NextTurn/pinvoke
...
Improve P/Invoke signatures
2020-03-25 21:45:39 +08:00
Oleg Nenashev
ecadc0ef8b
Merge pull request #403 from NextTurn/ims
...
Support 'If-Modified-Since' for downloads
2020-03-25 11:05:52 +01:00
NextTurn
80e99d8426
Rework P/Invoke signatures
2020-03-24 23:37:02 +08:00
NextTurn
fc08355620
Specify Unicode versions
2020-03-24 23:36:16 +08:00
NextTurn
5bc19e43af
Introduce constant strings
2020-03-24 23:36:16 +08:00
NextTurn
f1036e613b
Replace GetLastError
2020-03-24 23:36:16 +08:00
NextTurn
3bb10ab60d
Remove unnecessary attributes
2020-03-24 23:36:15 +08:00
Oleg Nenashev
dbb8efe410
Merge pull request #430 from NextTurn/enum
...
Use generic enum parsing methods in all packages except .NET 2.0
2020-03-11 12:04:51 +01:00
NextTurn
e843c5c89c
Generic enum parsing
2020-03-02 08:54:42 +08:00
NextTurn
76a7fff7a6
Use StringBuilder
2020-03-01 11:00:05 +08:00
NextTurn
89677a7f49
Support 'If-Modified-Since' for downloads
2020-02-25 11:12:59 +08:00
NextTurn
d97c72e48f
Disable MMI
2020-02-18 11:37:31 +08:00
Oleg Nenashev
9a7e0b141a
Merge pull request #391 from NextTurn/redirect
...
Fix stdout/stderr redirection when log disabled
2020-02-12 21:04:06 +01:00
NextTurn
b86a028392
Throw correct exceptions for IO errors
2020-02-10 18:59:08 +08:00
NextTurn
368b99d8a1
Implement atomic file movement
2020-02-10 18:28:59 +08:00
Oleg Nenashev
96c03efb0a
Merge pull request #397 from NextTurn/nullable
...
Annotate more nullable variables
2020-02-07 04:38:13 -05:00
Oleg Nenashev
dc10d4d3ce
Merge pull request #367 from NextTurn/download
...
Parallelize downloads in .NET 4.6.1 and .NET Core bundles
2020-02-06 05:31:12 -05:00
NextTurn
08da959737
Optimize DynamicProxy
2020-02-06 18:20:38 +08:00