Skip to content

Commit

Permalink
Updated to List & Label 24
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielKenner committed Mar 5, 2019
1 parent d98fb3b commit fb79f57
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 25 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ Latest version can be downloaded here: /~https://github.com/combit/RedmineReports/

# Compiling
In order to compile, you need to either use the trial version of combit report generator List & Label or a purchased full version.
Download the trial here: https://www.combit.net/en/trial
You also need to download the connector for MySql from https://downloads.mysql.com/archives/c-net/
Download the trial here: https://www.combit.com/reporting-tool/trial/

To quickly get up and running, just download the precompiled binaries from the provided ZIP and add the MySql.Data.dll https://downloads.mysql.com/archives/c-net/
The binaries are built against version 6.9.9.0 This package contains an application with full List & Label print/design support.
You also need to download the connector for MySql from here: https://dev.mysql.com/downloads/connector/net/

To quickly get up and running, just download the precompiled binaries from the provided ZIP and add the MySql.Data.dll. The binaries are built against version 8.0.15. Download it here: https://dev.mysql.com/downloads/connector/net/

This package contains an application with full List & Label print/design support.

# Designer Manual
You can get a comprehensive manual on the report designer from
https://www.combit.net/reporting-tool-en/manual-report-designer-List-Label.pdf
You can get a comprehensive manual on the report designer here: https://www.combit.com/docs/designer-manual.pdf

There is also a german version of the manual available on the website:
https://www.combit.net/reporting-tool/handbuch-report-designer-List-Label.pdf
There is also a German version of the manual available here: https://www.combit.net/docs/designer-handbuch.pdf

![RedmineReports](/~https://github.com/combit/RedmineReports/blob/master/trunk/Images/RedmineReports.png)

Expand Down
2 changes: 1 addition & 1 deletion trunk/MainForm.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using combit.ListLabel22;
using combit.ListLabel24;
using Microsoft.Win32;
using System;
using System.Collections.Generic;
Expand Down
4 changes: 2 additions & 2 deletions trunk/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.2.0.0")]
[assembly: AssemblyFileVersion("2.2.0.0")]
[assembly: AssemblyVersion("3.0.0.0")]
[assembly: AssemblyFileVersion("3.0.0.0")]
4 changes: 2 additions & 2 deletions trunk/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions trunk/Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions trunk/RedmineDataAccess.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using combit.ListLabel22.DataProviders;
using combit.ListLabel24.DataProviders;
using System;
using System.Collections.Generic;
using System.Data;
Expand All @@ -21,7 +21,7 @@ private DbCommandSetDataProvider CreateProvider(string _projectId, string _sqlCo
provider.MinimalSelect = false;
IDbCommand cmd = _connection.CreateCommand();

cmd.CommandText = "SELECT issues.tracker_id AS TrackerID, issues.id AS IssueID, issues.subject AS IssueName, issue_statuses.name AS IssueStatus, u1.login AS LoginName, u1.status AS LoginNameStatus , u1.firstname AS FirstName, u1.lastname AS LastName, versions.name AS Version, projects.name AS ProjectName, enumerations.name AS Priority, issue_statuses.is_closed AS IsClosed, u2.login AS AssignedToUser, u2.status AS AssignedToUserStatus, issue_categories.name AS Category"
cmd.CommandText = "SELECT issues.tracker_id AS TrackerID, issues.id AS IssueID, issues.subject AS IssueName, issue_statuses.name AS IssueStatus, u1.login AS LoginName, u1.status AS LoginNameStatus , u1.firstname AS FirstName, u1.lastname AS LastName, versions.name AS Version, projects.name AS ProjectName, enumerations.name AS Priority, issue_statuses.is_closed AS IsClosed, u2.login AS AssignedToUser, u2.status AS AssignedToUserStatus, u2.lastname AS AssignedToUserLastname, u2.type AS AssignedToUserType, issue_categories.name AS Category"
+ " FROM (issues INNER JOIN issue_statuses ON issues.status_id = issue_statuses.id)"
+ " INNER JOIN users u1 ON issues.author_id = u1.id"
+ " LEFT OUTER JOIN users u2 ON issues.assigned_to_id = u2.id"
Expand All @@ -32,7 +32,7 @@ private DbCommandSetDataProvider CreateProvider(string _projectId, string _sqlCo
+ " WHERE issues.project_id = '" + _projectId + "'" + _sqlCommand + " and issues.tracker_id IN(" + _trackerIDs + ")";
provider.AddCommand(cmd, "Issues", "`{0}`", "?{0}");

cmd.CommandText = "SELECT issues.tracker_id AS TrackerID, issues.id AS IssueID, issues.subject as IssueName, issue_statuses.name as IssueStatus, u1.login as LoginName, u1.status AS LoginNameStatus, u1.firstname as FirstName, u1.lastname as LastName, versions.name AS Version, projects.name AS ProjectName, enumerations.name AS Priority, issue_statuses.is_closed AS IsClosed, u2.login AS AssignedToUser, u2.status AS AssignedToUserStatus, issue_categories.name AS Category"
cmd.CommandText = "SELECT issues.tracker_id AS TrackerID, issues.id AS IssueID, issues.subject as IssueName, issue_statuses.name as IssueStatus, u1.login as LoginName, u1.status AS LoginNameStatus, u1.firstname as FirstName, u1.lastname as LastName, versions.name AS Version, projects.name AS ProjectName, enumerations.name AS Priority, issue_statuses.is_closed AS IsClosed, u2.login AS AssignedToUser,u2.lastname AS AssignedToUserLastname, u2.type AS AssignedToUserType, u2.status AS AssignedToUserStatus, issue_categories.name AS Category"
+ " FROM (issues INNER JOIN issue_statuses ON issues.status_id = issue_statuses.id)"
+ " INNER JOIN users u1 ON issues.author_id = u1.id"
+ " LEFT OUTER JOIN users u2 ON issues.assigned_to_id = u2.id"
Expand All @@ -49,7 +49,7 @@ private DbCommandSetDataProvider CreateProvider(string _projectId, string _sqlCo
+ " WHERE issues.project_id = " + _projectId + "" + _sqlCommand + " and issues.tracker_id IN(" + _trackerIDs + ") GROUP BY status_id";
provider.AddCommand(cmd, "IssuesByStatus", "`{0}`", "?{0}");

cmd.CommandText = "SELECT issues.tracker_id AS TrackerID, issues.id AS IssueID, issues.subject as IssueName, issue_statuses.name as IssueStatus, u1.login as LoginName, u1.status AS LoginNameStatus, u1.firstname as FirstName, u1.lastname as LastName, versions.name AS Version, projects.name AS ProjectName, enumerations.name AS Priority, issue_statuses.is_closed AS IsClosed, u2.login AS AssignedToUser, u2.status AS AssignedToUserStatus, issue_categories.name AS Category"
cmd.CommandText = "SELECT issues.tracker_id AS TrackerID, issues.id AS IssueID, issues.subject as IssueName, issue_statuses.name as IssueStatus, u1.login as LoginName, u1.status AS LoginNameStatus, u1.firstname as FirstName, u1.lastname as LastName, versions.name AS Version, projects.name AS ProjectName, enumerations.name AS Priority, issue_statuses.is_closed AS IsClosed, u2.login AS AssignedToUser, u2.lastname AS AssignedToUserLastname, u2.type AS AssignedToUserType, u2.status AS AssignedToUserStatus, issue_categories.name AS Category"
+ " FROM (issues INNER JOIN issue_statuses ON issues.status_id = issue_statuses.id)"
+ " INNER JOIN users u1 ON issues.author_id = u1.id"
+ " LEFT OUTER JOIN users u2 ON issues.assigned_to_id = u2.id"
Expand Down
11 changes: 7 additions & 4 deletions trunk/RedmineReports.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
Expand All @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>combit.RedmineReports</RootNamespace>
<AssemblyName>RedmineReports</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ApplicationIcon>LL-Redmine.ico</ApplicationIcon>
<IsWebBootstrapper>false</IsWebBootstrapper>
Expand Down Expand Up @@ -44,6 +44,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -53,14 +54,16 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<StartupObject>
</StartupObject>
</PropertyGroup>
<ItemGroup>
<Reference Include="combit.ListLabel22">
<HintPath>combit.ListLabel22.dll</HintPath>
<Reference Include="combit.ListLabel24">
<SpecificVersion>False</SpecificVersion>
<HintPath>combit.ListLabel24.dll</HintPath>
</Reference>
<Reference Include="MySql.Data">
<SpecificVersion>False</SpecificVersion>
Expand Down
Binary file modified trunk/Report.lst
Binary file not shown.
4 changes: 2 additions & 2 deletions trunk/app.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<?xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
Expand All @@ -16,4 +16,4 @@
</setting>
</combit.RedmineReports.Properties.Settings>
</applicationSettings>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2"/></startup></configuration>

0 comments on commit fb79f57

Please sign in to comment.