Skip to content

Commit

Permalink
Remove support for OH1 and improved connection managing (#202)
Browse files Browse the repository at this point in the history
* Reorganized source code in repository (#200)
* Removed OH 1 support form REST client #178
* Added detail information to ConnectionDialog
* Added acrylic effect to ConnectionDialog
* Minor UI improvements #201 #131
* Minor fixes for settings #201
* Fixed issue wirh connection state checking in settings dialog
* Fixed issue with regex in color control to validate HSB values
* Fixed issue for enable/disable autostart
* fixed ci workflow
* Replaced deprecated MVVMLight nuget package
* Integrated SonarLint
* Fixed sonarqube bug

Signed-off-by: Christoph Hofmann <oss@hoffe.org>
  • Loading branch information
hoffe86 authored May 25, 2022
1 parent 8c17c8c commit 9fd71b6
Show file tree
Hide file tree
Showing 44 changed files with 1,023 additions and 475 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
- name: Build App
id: create_app_package
uses: .\repo\.github\workflows\actions\app-build
uses: ./repo/.github/workflows/actions/app-build
with:
build_configuration: 'debug'
output_directory: '${{env.BuildDirectory}}'
Expand Down
15 changes: 15 additions & 0 deletions .sonarlint/OpenHAB.Windows.slconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"ServerUri": "https://sonarcloud.io/",
"Organization": {
"Key": "openhab",
"Name": "openHAB"
},
"ProjectKey": "openhab_openhab-windows",
"ProjectName": "openhab-windows",
"Profiles": {
"CSharp": {
"ProfileKey": "AXflIL33YGfeNt47qUY1",
"ProfileTimestamp": "2021-11-22T10:44:23Z"
}
}
}
89 changes: 89 additions & 0 deletions .sonarlint/openhab_openhab-windows/CSharp/SonarLint.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
<?xml version="1.0" encoding="utf-8"?>
<AnalysisInput xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Settings>
<Setting>
<Key>sonar.cs.analyzeGeneratedCode</Key>
<Value>false</Value>
</Setting>
<Setting>
<Key>sonar.cs.file.suffixes</Key>
<Value>.cs</Value>
</Setting>
<Setting>
<Key>sonar.cs.ignoreHeaderComments</Key>
<Value>true</Value>
</Setting>
<Setting>
<Key>sonar.cs.roslyn.ignoreIssues</Key>
<Value>false</Value>
</Setting>
</Settings>
<Rules>
<Rule>
<Key>S107</Key>
<Parameters>
<Parameter>
<Key>max</Key>
<Value>7</Value>
</Parameter>
</Parameters>
</Rule>
<Rule>
<Key>S110</Key>
<Parameters>
<Parameter>
<Key>max</Key>
<Value>5</Value>
</Parameter>
</Parameters>
</Rule>
<Rule>
<Key>S1479</Key>
<Parameters>
<Parameter>
<Key>maximum</Key>
<Value>30</Value>
</Parameter>
</Parameters>
</Rule>
<Rule>
<Key>S2342</Key>
<Parameters>
<Parameter>
<Key>flagsAttributeFormat</Key>
<Value>^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?s$</Value>
</Parameter>
<Parameter>
<Key>format</Key>
<Value>^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$</Value>
</Parameter>
</Parameters>
</Rule>
<Rule>
<Key>S2436</Key>
<Parameters>
<Parameter>
<Key>max</Key>
<Value>2</Value>
</Parameter>
<Parameter>
<Key>maxMethod</Key>
<Value>3</Value>
</Parameter>
</Parameters>
</Rule>
<Rule>
<Key>S3776</Key>
<Parameters>
<Parameter>
<Key>propertyThreshold</Key>
<Value>3</Value>
</Parameter>
<Parameter>
<Key>threshold</Key>
<Value>15</Value>
</Parameter>
</Parameters>
</Rule>
</Rules>
</AnalysisInput>
Loading

0 comments on commit 9fd71b6

Please sign in to comment.