Mikael Lindemann
5f94e8bbd3
Added Sonar analyzers. Fixed some issues (mostly use of new C# features)
2021-04-01 13:09:02 +02:00
Mikael Lindemann
5d00558e08
Updated docs - prepared for next iteration.
2021-04-01 12:58:02 +02:00
Mikael Lindemann
6a7a5708ae
Remove alpha from build number.
2021-04-01 12:34:15 +02:00
Mikael Lindemann
81d70ddfec
Merge pull request #19 from PiranhaCMS/dev
...
Use Piranha Nuget packages after release of v9.
2021-04-01 12:30:15 +02:00
Mikael Lindemann
04e33d623d
Updated to use nuget package references for tests.
2021-04-01 12:28:07 +02:00
Mikael Lindemann
f62f0ad46e
Updated packages
2021-03-29 11:30:28 +02:00
Mikael Lindemann
152ba6031b
Added field settings test for ColorField. Updated namespace to account for StringFieldSettingsAttribute.
2020-12-17 17:33:24 +01:00
Mikael Lindemann
e1d8b3f8ef
Merge pull request #18 from PiranhaCMS/dev
...
Submodule using https.
2020-11-26 20:06:41 +01:00
Mikael Lindemann
528691ea25
Merge remote-tracking branch 'origin' into dev
2020-11-26 20:06:12 +01:00
Mikael Lindemann
a5e1f65db4
Submodule using https
2020-11-26 20:05:09 +01:00
Mikael Lindemann
589c2736b6
Merge pull request #17 from PiranhaCMS/dev
...
Analysis of FieldSettingsAttributes.
2020-11-26 20:02:28 +01:00
Mikael Lindemann
dc6f3c8652
Added analyzer to find invalid uses of FieldSettingsAttributes.
2020-11-26 19:55:17 +01:00
Mikael Lindemann
9d78137f2c
Separated constants into classes denoting namespaces.
2020-11-25 17:49:41 +01:00
Mikael Lindemann
94651b2263
Updated packages, fixed some analyzer warnings.
2020-11-24 19:55:06 +01:00
Mikael Lindemann
42430530ea
Merge pull request #15 from PiranhaCMS/dev
...
Piranh 8.4.0, PA0003, PA0004, PA0005
2020-08-20 17:02:44 +02:00
Mikael Lindemann
6a40ca7c9d
Moved new analyzers to shipped.
2020-08-20 17:00:14 +02:00
Mikael Lindemann
93d3e91174
Targeted Piranha 8.4.0
2020-08-20 16:52:09 +02:00
Mikael Lindemann
d9da28f455
Reimplemented SingleFieldComplexRegionAnalyzer to avoid call to Compilation.GetSemanticModel()
2020-08-16 17:52:04 +02:00
Mikael Lindemann
ddf1b3db13
Bumped library versions. Retargeted Piranha 8.3.0
2020-08-16 14:00:09 +02:00
Mikael Lindemann
b3a95d284b
Remove unused Piranha dependency from analyzers project.
2020-05-13 12:08:43 +02:00
Mikael Lindemann
d6e7d6f9bc
Merge pull request #14 from PiranhaCMS/feature/sitetypes-should-inherit-sitecontent
...
PA0005: Check that classes marked with [SiteType] inherits SiteContent.
2020-05-13 12:07:27 +02:00
Mikael Lindemann
1aa677cd94
PA0005: Check that classes marked with [SiteType] inherits SiteContent.
2020-05-13 12:06:01 +02:00
Mikael Lindemann
f4d3f2e337
Merge pull request #13 from PiranhaCMS/feature/pagetypes-should-inherit-page
...
PA0004: Check that classes marked with [PageType] inherits Page.
2020-05-13 12:03:22 +02:00
Mikael Lindemann
fbd7891ca5
PA0004: Check that classes marked with [PageType] inherits Page.
2020-05-13 12:01:56 +02:00
Mikael Lindemann
fb6b3e91d6
Merge pull request #12 from PiranhaCMS/feature/posttypes-should-inherit-post
...
[PostType]s should inherit Post
2020-05-13 11:51:30 +02:00
Mikael Lindemann
9f1bc9a61d
Only fetch static types once per analysis.
2020-05-13 11:37:28 +02:00
Mikael Lindemann
1272a31b4d
Usings and license texts.
2020-05-13 10:59:58 +02:00
Mikael Lindemann
c02b3e20c9
Merge branch 'master' into feature/posttypes-should-inherit-post
2020-05-13 10:55:50 +02:00
Mikael Lindemann
d06e6c4ad2
AppVeyor: Build version.
2020-05-13 10:53:50 +02:00
Mikael Lindemann
742f228c89
Merge branch 'master' into feature/posttypes-should-inherit-post
2020-05-13 10:47:37 +02:00
Mikael Lindemann
cf1de268fb
Fix build after package upgrade.
2020-05-13 10:46:33 +02:00
Mikael Lindemann
aa3c052bdf
PA0003: Check that classes marked with [PostType] inherits Post.
2020-05-13 10:44:59 +02:00
Mikael Lindemann
63fa0d3db7
Upgrade piranha version.
2020-05-13 10:42:56 +02:00
Mikael Lindemann
68f3454f40
Upgrade of code analysis packages.
...
Also, added AnalyzerReleases.*.md as per new analyzer warnings.
2020-05-13 10:39:10 +02:00
Mikael Lindemann
d20a9accc9
Merge pull request #11 from PiranhaCMS/issues/10
...
Fix debug build due to packaging error.
2020-04-16 12:11:07 +02:00
Mikael Lindemann
0b0005e50e
Fix debug build due to packaging error.
...
Fixes #10 .
2020-04-16 12:09:04 +02:00
Mikael Lindemann
26bd098ca9
Added docs directory with descriptions of current analyzers.
2020-03-15 19:23:18 +01:00
Mikael Lindemann
47983e0721
MoveToExistingComplexRegion: Support for region and content class in same source file
...
This fixes a bug where the code fix provider would change the initial version of the original source file, rather than the already changed one.
2020-03-15 19:18:53 +01:00
Mikael Lindemann
4fca1294b4
PA0001: Change to info level.
2020-03-15 19:16:56 +01:00
Mikael Lindemann
8614a91557
Fix messages in tests.
2020-03-15 17:15:59 +01:00
Mikael Lindemann
6d896159c0
Support partial classes when detecting single field complex regions.
...
Also fixes an issue where the analyzer would throw an exception if a region class was not declared in the same source as the content type trying to use it.
Fixes #9 (again)
2020-03-15 17:13:25 +01:00
Mikael Lindemann
788a3fc086
Added Piranha icon to the NuGet package.
...
Solves #6 .
2020-03-15 15:42:31 +01:00
Mikael Lindemann
bec4854617
Added analyzer to mark single field complex regions as a programmer mistake.
...
Also, disabled code fix provider that would introduce such regions.
Solves #9 .
2020-03-15 15:41:29 +01:00
Mikael Lindemann
d0433345e0
Supply nuspec version through project file.
2020-02-25 20:53:24 +01:00
Mikael Lindemann
619da70fa1
NuspecFile for analyzers project.
2020-02-25 20:50:32 +01:00
Mikael Lindemann
10805ce169
Microsoft.CodeAnalysis.Analyzers => Dev dependency.
2020-02-25 20:35:32 +01:00
Mikael Lindemann
623edab781
Merge pull request #5 from PiranhaCMS/feature/move-field-to-existing-region
...
Add code fix provider to move field to existing region.
2020-02-25 20:22:29 +01:00
Mikael Lindemann
9ca22a4e16
Add code fix provider to move field to existing region.
...
Fixes #1
2020-02-25 20:20:29 +01:00
Mikael Lindemann
2a455c34d6
Piranha 8.1.0 - Upgraded packages - Fixed analyzer warnings.
2020-02-25 19:53:24 +01:00
Mikael Lindemann
0246c2fae2
Only use release for artifacts.
2020-02-25 19:37:03 +01:00