Renamed project.
This commit is contained in:
@@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BodyshopUploader.Utils
|
||||
namespace BodyshopPartner.Utils
|
||||
{
|
||||
public static class AppMetaData
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BodyshopUploader.Utils
|
||||
namespace BodyshopPartner.Utils
|
||||
{
|
||||
public static class ApplicationExceptionHandler
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.Threading.Tasks;
|
||||
using Firebase.Auth;
|
||||
using System.Timers;
|
||||
|
||||
namespace BodyshopUploader.Utils
|
||||
namespace BodyshopPartner.Utils
|
||||
{
|
||||
public static class Auth
|
||||
{
|
||||
@@ -25,9 +25,8 @@ namespace BodyshopUploader.Utils
|
||||
{
|
||||
authlink = await ap.SignInWithEmailAndPasswordAsync(Username, Password);
|
||||
authlink.FirebaseAuthRefreshed += Authlink_FirebaseAuthRefreshed;
|
||||
|
||||
|
||||
logger.Trace("Firebase Auth Token {0}.", authlink.FirebaseToken);
|
||||
logger.Trace("Firebase Refresh Token {0}.", authlink.RefreshToken);
|
||||
logger.Trace("Firebase Auth Token expires in {0} seconds.", authlink.ExpiresIn);
|
||||
tokenTimer.Interval = (authlink.ExpiresIn - 600) * 1000; //Set the token to refresh 10 minutes before it has to.
|
||||
logger.Trace("Refresh timer interval set to {0}ms", (authlink.ExpiresIn - 600) * 1000);
|
||||
@@ -81,7 +80,7 @@ namespace BodyshopUploader.Utils
|
||||
//Gotta do some stuff now that i got a new token!
|
||||
//Maybe the token auto refreshes?
|
||||
logger.Info("Timer Old Token {0}", authlink.FirebaseToken);
|
||||
authlink = await ap.SignInWithEmailAndPasswordAsync(U, P);
|
||||
authlink = await authlink.GetFreshAuthAsync();
|
||||
logger.Info("new Token {0}", authlink.FirebaseToken);
|
||||
tokenTimer.Stop();
|
||||
tokenTimer.Interval = (authlink.ExpiresIn - 600) * 1000; //Set the token to refresh 10 minutes before it has to.
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.ComponentModel;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
|
||||
namespace BodyshopUploader
|
||||
namespace BodyshopPartner
|
||||
{
|
||||
public class BaseModel : INotifyPropertyChanged
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
using System.ComponentModel;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace BodyshopUploader
|
||||
namespace BodyshopPartner
|
||||
{
|
||||
public abstract class BaseViewModel : INotifyPropertyChanged
|
||||
{
|
||||
|
||||
@@ -4,9 +4,9 @@ using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using BodyshopUploader.Models;
|
||||
using BodyshopPartner.Models;
|
||||
|
||||
namespace BodyshopUploader.Utils
|
||||
namespace BodyshopPartner.Utils
|
||||
{
|
||||
public class CIECAMonitor : FileSystemWatcher
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ using System.Threading.Tasks;
|
||||
using DotNetDBF;
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace BodyshopUploader.Utils.Decoder
|
||||
namespace BodyshopPartner.Utils.Decoder
|
||||
{
|
||||
class EstimateDecoder
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BodyshopUploader.Utils
|
||||
namespace BodyshopPartner.Utils
|
||||
{
|
||||
public static class GraphQL
|
||||
{
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<Window x:Class="BodyshopUploader.Utils.Growls.GrowlNotification"
|
||||
<Window x:Class="BodyshopPartner.Utils.Growls.GrowlNotification"
|
||||
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:BodyshopUploader.Utils.Growls"
|
||||
xmlns:local="clr-namespace:BodyshopPartner.Utils.Growls"
|
||||
mc:Ignorable="d"
|
||||
SizeToContent="WidthAndHeight"
|
||||
AllowsTransparency="True"
|
||||
@@ -11,7 +11,7 @@
|
||||
ShowInTaskbar="False"
|
||||
Topmost="True"
|
||||
UseLayoutRounding="True"
|
||||
Title="BodyshopUploader Notification"
|
||||
Title="BodyshopPartner Notification"
|
||||
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
||||
TextElement.Foreground="{DynamicResource MaterialDesignBody}"
|
||||
TextElement.FontWeight="Regular"
|
||||
|
||||
@@ -15,7 +15,7 @@ using System.Windows.Media.Imaging;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
|
||||
namespace BodyshopUploader.Utils.Growls
|
||||
namespace BodyshopPartner.Utils.Growls
|
||||
{
|
||||
public partial class GrowlNotification
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BodyshopUploader.Utils.Growls
|
||||
namespace BodyshopPartner.Utils.Growls
|
||||
{
|
||||
public class Notification : INotifyPropertyChanged
|
||||
{
|
||||
|
||||
@@ -5,13 +5,13 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using BodyshopUploader.Utils;
|
||||
using BodyshopUploader.Models;
|
||||
using BodyshopUploader.Utils.Growls;
|
||||
using BodyshopPartner.Utils;
|
||||
using BodyshopPartner.Models;
|
||||
using BodyshopPartner.Utils.Growls;
|
||||
using GraphQL.Common.Request;
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace BodyshopUploader.Utils
|
||||
namespace BodyshopPartner.Utils
|
||||
{
|
||||
public static class JobProcessingQueue
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BodyshopUploader.Utils
|
||||
namespace BodyshopPartner.Utils
|
||||
{
|
||||
class JsonPathConverter : JsonConverter
|
||||
{
|
||||
|
||||
@@ -5,7 +5,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BodyshopUploader.Utils
|
||||
namespace BodyshopPartner.Utils
|
||||
{
|
||||
public static class JsonExtensions
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.Security;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BodyshopUploader.Utils
|
||||
namespace BodyshopPartner.Utils
|
||||
{
|
||||
public static class LoginHelpers
|
||||
{
|
||||
|
||||
@@ -5,7 +5,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BodyshopUploader.Utils.Queries
|
||||
namespace BodyshopPartner.Utils.Queries
|
||||
{
|
||||
class JobsQueries
|
||||
{
|
||||
|
||||
@@ -5,7 +5,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BodyshopUploader.Utils.Queries
|
||||
namespace BodyshopPartner.Utils.Queries
|
||||
{
|
||||
public static class VehicleQueries
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace BodyshopUploader
|
||||
namespace BodyshopPartner
|
||||
{
|
||||
public class RelayCommand : ICommand
|
||||
{
|
||||
|
||||
@@ -5,7 +5,7 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace BodyshopUploader.Utils
|
||||
namespace BodyshopPartner.Utils
|
||||
{
|
||||
public class OpenMainWindowCommand : ICommand
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Data;
|
||||
|
||||
namespace BodyshopUploader.Utils
|
||||
namespace BodyshopPartner.Utils
|
||||
{
|
||||
public class BoolVisibilityConverter : IValueConverter
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BodyshopUploader.Utils
|
||||
namespace BodyshopPartner.Utils
|
||||
{
|
||||
public static class UpdateHandler
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user