Renamed the project from DebtMgr to eJay

This commit is contained in:
Andre Beging
2019-01-06 16:12:11 +01:00
parent 5887b27aaa
commit c9ca3598e7
34 changed files with 107 additions and 78 deletions

View File

@@ -2,20 +2,20 @@
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="DebtMgr.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
<section name="eJay.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6"/>
</startup>
<userSettings>
<DebtMgr.Properties.Settings>
<setting name="Database" serializeAs="String">
<value />
</setting>
<setting name="TelegramPath" serializeAs="String">
<value />
</setting>
</DebtMgr.Properties.Settings>
<eJay.Properties.Settings>
<setting name="Database" serializeAs="String">
<value />
</setting>
<setting name="TelegramPath" serializeAs="String">
<value />
</setting>
</eJay.Properties.Settings>
</userSettings>
</configuration>

View File

@@ -1,7 +1,7 @@
<Application x:Class="DebtMgr.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:DebtMgr" StartupUri="View/MainView.xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" d1p1:Ignorable="d" xmlns:d1p1="http://schemas.openxmlformats.org/markup-compatibility/2006">
<Application x:Class="eJay.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:eJay" StartupUri="View/MainView.xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" d1p1:Ignorable="d" xmlns:d1p1="http://schemas.openxmlformats.org/markup-compatibility/2006">
<Application.Resources>
<ResourceDictionary>
<vm:ViewModelLocator x:Key="Locator" d:IsDataSource="True" xmlns:vm="clr-namespace:DebtMgr.ViewModel" />
<vm:ViewModelLocator x:Key="Locator" d:IsDataSource="True" xmlns:vm="clr-namespace:eJay.ViewModel" />
</ResourceDictionary>
</Application.Resources>
</Application>

View File

@@ -4,11 +4,11 @@ using System.Runtime.CompilerServices;
using System.Windows;
using System.Xml;
using System.Xml.Serialization;
using DebtMgr.Data;
using DebtMgr.ViewModel;
using eJay.Data;
using eJay.ViewModel;
using SQLite.Net;
namespace DebtMgr
namespace eJay
{
/// <summary>
/// Interaktionslogik für "App.xaml"

View File

@@ -3,7 +3,7 @@ using System.Globalization;
using System.Windows.Data;
using System.Windows.Media;
namespace DebtMgr.Converters
namespace eJay.Converters
{
////////////////////////////////////////////////////////////////////////////////////////////////////
/// <summary> An amount to color converter. </summary>

View File

@@ -3,7 +3,7 @@ using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace DebtMgr.Converters
namespace eJay.Converters
{
[ValueConversion(typeof(bool), typeof(Visibility))]
public class BoolToVisibilityConverter : IValueConverter

View File

@@ -1,11 +1,11 @@
using System;
using System.Collections.Generic;
using DebtMgr.Model;
using eJay.Model;
using SQLite.Net;
using SQLite.Net.Interop;
using SQLite.Net.Platform.Generic;
namespace DebtMgr.Data
namespace eJay.Data
{
public class Database : SQLiteConnection
{

View File

@@ -1,4 +1,4 @@
namespace DebtMgr.Data
namespace eJay.Data
{
public class EJaySettings
{

View File

@@ -1,7 +1,7 @@
using System.Globalization;
using System.Windows;
namespace DebtMgr.Extensions
namespace eJay.Extensions
{
////////////////////////////////////////////////////////////////////////////////////////////////////
/// <summary> An extension methods. </summary>

View File

@@ -3,7 +3,7 @@ using System.Windows;
using System.Windows.Media;
using System.Windows.Media.Imaging;
namespace DebtMgr.Helper
namespace eJay.Helper
{
public class PrintHelper
{

View File

@@ -1,6 +1,6 @@
using System.ComponentModel;
namespace DebtMgr.Model
namespace eJay.Model
{
////////////////////////////////////////////////////////////////////////////////////////////////////
/// <summary> Values that represent transaction types. </summary>

View File

@@ -1,10 +1,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using SQLite.Net.Attributes;
using SQLiteNetExtensions.Attributes;
namespace DebtMgr.Model
namespace eJay.Model
{
////////////////////////////////////////////////////////////////////////////////////////////////////
/// <summary> A person. </summary>

View File

@@ -2,7 +2,7 @@
using SQLite.Net.Attributes;
using SQLiteNetExtensions.Attributes;
namespace DebtMgr.Model
namespace eJay.Model
{
////////////////////////////////////////////////////////////////////////////////////////////////////
/// <summary> A transaction. </summary>

View File

@@ -5,12 +5,12 @@ using System.Windows;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[assembly: AssemblyTitle("DebtMgr")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyTitle("eJay")]
[assembly: AssemblyDescription("A tool to keep track of your private debts")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("DebtMgr")]
[assembly: AssemblyCopyright("Copyright © 2017")]
[assembly: AssemblyCompany("TroogS")]
[assembly: AssemblyProduct("eJay")]
[assembly: AssemblyCopyright("Copyright © 2019")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

View File

@@ -8,7 +8,7 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace DebtMgr.Properties {
namespace eJay.Properties {
using System;
@@ -19,7 +19,7 @@ namespace DebtMgr.Properties {
// -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
// Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
// mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
@@ -39,7 +39,7 @@ namespace DebtMgr.Properties {
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DebtMgr.Properties.Resources", typeof(Resources).Assembly);
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("eJay.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;

View File

@@ -1,4 +1,4 @@
<Window x:Class="DebtMgr.View.Dialogs.AddTransactionView"
<Window x:Class="eJay.View.Dialogs.AddTransactionView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

View File

@@ -1,9 +1,9 @@
using DebtMgr.Extensions;
using eJay.Extensions;
using System.Windows;
using System.Windows.Input;
using DebtMgr.Model;
using eJay.Model;
namespace DebtMgr.View.Dialogs
namespace eJay.View.Dialogs
{
/// <summary>
/// Interaktionslogik für AddTransactionView.xaml

View File

@@ -1,4 +1,4 @@
<Window x:Class="DebtMgr.View.Dialogs.DatabaseSelectorDialogView"
<Window x:Class="eJay.View.Dialogs.DatabaseSelectorDialogView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

View File

@@ -1,10 +1,10 @@
using System;
using eJay;
using System.ComponentModel;
using System.Windows;
using System.Windows.Input;
using DebtMgr.Extensions;
using eJay.Extensions;
namespace DebtMgr.View.Dialogs
namespace eJay.View.Dialogs
{
/// <summary>
/// Interaktionslogik für DatabaseSelectorDialogView.xaml

View File

@@ -1,9 +1,9 @@
<Window x:Class="DebtMgr.View.Dialogs.EditTransactionDialogView"
<Window x:Class="eJay.View.Dialogs.EditTransactionDialogView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:DebtMgr.View.Dialogs"
xmlns:local="clr-namespace:eJay.View.Dialogs"
xmlns:currencyTextBoxControl="clr-namespace:CurrencyTextBoxControl;assembly=CurrencyTextBoxControl"
mc:Ignorable="d"
Icon="{Binding WindowIcon}"

View File

@@ -11,9 +11,9 @@ using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using DebtMgr.Extensions;
using eJay.Extensions;
namespace DebtMgr.View.Dialogs
namespace eJay.View.Dialogs
{
/// <summary>
/// Interaktionslogik für EditTransactionDialogView.xaml

View File

@@ -1,9 +1,9 @@
<Window x:Class="DebtMgr.View.Dialogs.NewPersonDialogView"
<Window x:Class="eJay.View.Dialogs.NewPersonDialogView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:DebtMgr.View.Dialogs"
xmlns:local="clr-namespace:eJay.View.Dialogs"
mc:Ignorable="d"
Name="NewPersonDialogViewWindow"
Icon="../../Content/addperson.ico"

View File

@@ -1,10 +1,10 @@
using System;
using System.Windows;
using System.Windows.Input;
using DebtMgr.Extensions;
using DebtMgr.Model;
using eJay.Extensions;
using eJay.Model;
namespace DebtMgr.View.Dialogs
namespace eJay.View.Dialogs
{
/// <summary>
/// Interaktionslogik für NewPersonDialogView.xaml

View File

@@ -1,9 +1,10 @@
<Window x:Class="DebtMgr.View.MainView"
<Window x:Class="eJay.View.MainView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:converters="clr-namespace:DebtMgr.Converters"
xmlns:converters="clr-namespace:eJay.Converters"
xmlns:converters1="clr-namespace:eJay.Converters"
mc:Ignorable="d"
Name="MainViewWindow"
Icon="../Content/money_green.ico"
@@ -11,7 +12,7 @@
Background="White">
<Window.Resources>
<converters:BoolToVisibilityConverter x:Key="BoolToVisibilityConverter"></converters:BoolToVisibilityConverter>
<converters:AmountToColorConverter x:Key="AmountToColorConverter" />
<converters1:AmountToColorConverter x:Key="AmountToColorConverter" />
<Style TargetType="ListViewItem">
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
</Style>

View File

@@ -5,7 +5,7 @@ using System.Windows.Input;
using System.Windows.Media;
using Squirrel;
namespace DebtMgr.View
namespace eJay.View
{
/// <summary>
/// Interaktionslogik für MainView.xaml

View File

@@ -1,9 +1,9 @@
<Window x:Class="DebtMgr.View.ScreenshotView"
<Window x:Class="eJay.View.ScreenshotView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:DebtMgr.View"
xmlns:local="clr-namespace:eJay.View"
mc:Ignorable="d"
Title="ScreenshotView" Height="300" Width="300">
<Grid>

View File

@@ -13,7 +13,7 @@ using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
namespace DebtMgr.View
namespace eJay.View
{
/// <summary>
/// Interaktionslogik für ScreenshotView.xaml

View File

@@ -1,4 +1,4 @@
using DebtMgr.Model;
using eJay.Model;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using SQLiteNetExtensions.Extensions;
@@ -8,7 +8,7 @@ using System.Globalization;
using System.Linq;
using System.Windows;
namespace DebtMgr.ViewModel.Dialogs
namespace eJay.ViewModel.Dialogs
{
public class AddTransactionViewModel : ViewModelBase
{

View File

@@ -1,14 +1,14 @@
using System;
using System.Linq;
using System.Windows;
using DebtMgr.Model;
using eJay.Model;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using Microsoft.Win32;
using SQLite.Net;
using SQLite.Net.Platform.Generic;
namespace DebtMgr.ViewModel.Dialogs
namespace eJay.ViewModel.Dialogs
{
public class DatabaseSelectorDialogViewModel : ViewModelBase
{

View File

@@ -1,11 +1,11 @@
using System;
using System.Globalization;
using DebtMgr.Model;
using eJay.Model;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using SQLiteNetExtensions.Extensions;
namespace DebtMgr.ViewModel.Dialogs
namespace eJay.ViewModel.Dialogs
{
public class EditTransactionDialogViewModel : ViewModelBase
{

View File

@@ -1,10 +1,10 @@
using System;
using System.Windows;
using DebtMgr.Model;
using eJay.Model;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
namespace DebtMgr.ViewModel.Dialogs
namespace eJay.ViewModel.Dialogs
{
public class NewPersonDialogViewModel : ViewModelBase
{

View File

@@ -1,5 +1,5 @@
using DebtMgr.Model;
using DebtMgr.View.Dialogs;
using eJay.Model;
using eJay.View.Dialogs;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using SQLiteNetExtensions.Extensions;
@@ -11,7 +11,7 @@ using System.Threading;
using System.IO;
using System.Diagnostics;
using System.Windows.Controls;
using DebtMgr.Helper;
using eJay.Helper;
using Microsoft.Win32;
using System.Windows.Markup;
using System.Xml;
@@ -19,7 +19,7 @@ using Squirrel;
using NuGet;
using System.Threading.Tasks;
namespace DebtMgr.ViewModel
namespace eJay.ViewModel
{
public class MainViewModel : ViewModelBase
{

View File

@@ -12,11 +12,11 @@
See http://www.galasoft.ch/mvvm
*/
using DebtMgr.ViewModel.Dialogs;
using eJay.ViewModel.Dialogs;
using GalaSoft.MvvmLight.Ioc;
using Microsoft.Practices.ServiceLocation;
namespace DebtMgr.ViewModel
namespace eJay.ViewModel
{
/// <summary>
/// This class contains static references to all the view models in the

View File

@@ -6,8 +6,8 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{11FFBAAB-CE28-4B77-8C7A-8B15F0007133}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>DebtMgr</RootNamespace>
<AssemblyName>DebtMgr</AssemblyName>
<RootNamespace>eJay</RootNamespace>
<AssemblyName>eJay</AssemblyName>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
@@ -16,6 +16,21 @@
<TargetFrameworkProfile />
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -34,7 +49,7 @@
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<WarningLevel>0</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>Content\money_green.ico</ApplicationIcon>
@@ -276,6 +291,18 @@
<ItemGroup>
<Folder Include="nuget\" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.6">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4.6 %28x86 und x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="packages\Fody.2.0.0\build\dotnet\Fody.targets" Condition="Exists('packages\Fody.2.0.0\build\dotnet\Fody.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
@@ -302,10 +329,9 @@
<PostBuildEvent>set releaseDir="C:\Squirrel\eJay"
set longVersion=@(VersionNumber)
set version=%25longVersion:~0,5%25
echo %25version%25
cd ..\..\nuget
nuget pack ..\nuspec\ejay.nuspec
Squirrel --releasify ..\nuget\eJay.%25version%25.nupkg --releaseDir %25releaseDir%25
echo RELEASED IN %25releaseDir%25</PostBuildEvent>
Squirrel --releasify eJay.%25version%25.nupkg --releaseDir %25releaseDir%25
echo RELEASED Version %25version%25 IN %25releaseDir%25</PostBuildEvent>
</PropertyGroup>
</Project>

View File

@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26430.13
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DebtMgr", "DebtMgr.csproj", "{11FFBAAB-CE28-4B77-8C7A-8B15F0007133}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "eJay", "eJay.csproj", "{11FFBAAB-CE28-4B77-8C7A-8B15F0007133}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -19,4 +19,7 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {0EDFC77D-57B3-4C52-8B89-4FF93FAC5665}
EndGlobalSection
EndGlobal