Version 3.0.365

This commit is contained in:
Anja 2023-05-11 17:39:28 +02:00
parent 0b9196a78d
commit 0eb7362cb8
64 changed files with 1423 additions and 1045 deletions

View file

@ -42,17 +42,17 @@ namespace TINK.Model.Connector
{
if (string.IsNullOrEmpty(mail))
{
throw new ArgumentNullException("Can not loging user. Mail address must not be null or empty.");
throw new ArgumentNullException("Can not login user. Mail address must not be null or empty.");
}
if (string.IsNullOrEmpty(password))
{
throw new ArgumentNullException("Can not loging user. Password must not be null or empty.");
throw new ArgumentNullException("Can not login user. Password must not be null or empty.");
}
if (string.IsNullOrEmpty(deviceId))
{
throw new ArgumentNullException("Can not loging user. Device not be null or empty.");
throw new ArgumentNullException("Can not login user. Device not be null or empty.");
}
AuthorizationResponse response;
@ -103,7 +103,7 @@ namespace TINK.Model.Connector
/// <param name="bike">Bike to book.</param>
public async Task CalculateAuthKeys(Bikes.BikeInfoNS.BluetoothLock.IBikeInfoMutable bike)
{
Log.ForContext<Command>().Error("Unexpected request to get authenticatin keys detected. No user logged in.");
Log.ForContext<Command>().Error("Unexpected request to get authentication keys detected. No user logged in.");
await Task.CompletedTask;
}

View file

@ -41,7 +41,7 @@ namespace TINK.Model.Connector
{
if (string.IsNullOrEmpty(mail))
{
throw new ArgumentNullException("Can not loging user. Mail address must not be null or empty.");
throw new ArgumentNullException("Can not login user. Mail address must not be null or empty.");
}
throw new Exception($"Fehler beim Anmelden von unter {mail}. Benutzer {Mail} ist bereits angemeldet.");
@ -90,7 +90,7 @@ namespace TINK.Model.Connector
}
catch (Exception)
{
// Exception was not expected or too many subsequent excepitons detected.
// Exception was not expected or too many subsequent exceptions detected.
throw;
}
@ -114,7 +114,7 @@ namespace TINK.Model.Connector
}
catch (Exception)
{
// Exception was not expected or too many subsequent excepitons detected.
// Exception was not expected or too many subsequent exceptions detected.
throw;
}
@ -148,7 +148,7 @@ namespace TINK.Model.Connector
}
catch (Exception)
{
// Exception was not expected or too many subsequent excepitons detected.
// Exception was not expected or too many subsequent exceptions detected.
throw;
}
@ -178,7 +178,7 @@ namespace TINK.Model.Connector
}
catch (Exception)
{
// Exception was not expected or too many subsequent excepitons detected.
// Exception was not expected or too many subsequent exceptions detected.
throw;
}
@ -231,7 +231,7 @@ namespace TINK.Model.Connector
}
catch (Exception)
{
// Exception was not expected or too many subsequent excepitons detected.
// Exception was not expected or too many subsequent exceptions detected.
throw;
}
}

View file

@ -25,7 +25,7 @@ namespace TINK.Model.Connector
server = copriServer as ICachedCopriServer;
if (server == null)
{
throw new ArgumentException($"Copri server is not of expected typ. Type detected is {copriServer.GetType()}.");
throw new ArgumentException($"Copri server is not of expected type. Type detected is {copriServer.GetType()}.");
}
}

View file

@ -24,7 +24,7 @@ namespace TINK.Model.Connector
server = copriServer as ICopriServer;
if (server == null)
{
throw new ArgumentException($"Copri server is not of expected typ. Type detected is {copriServer.GetType()}.");
throw new ArgumentException($"Copri server is not of expected type. Type detected is {copriServer.GetType()}.");
}
}

View file

@ -26,7 +26,7 @@ namespace TINK.Model.Connector
server = copriServer as ICopriServer;
if (server == null)
{
throw new ArgumentException($"Copri server is not of expected typ. Type detected is {copriServer.GetType()}.");
throw new ArgumentException($"Copri server is not of expected type. Type detected is {copriServer.GetType()}.");
}
server = copriServer as ICopriServer;

View file

@ -1,4 +1,4 @@
using System;
using System;
namespace TINK.Model.State
{
@ -24,7 +24,7 @@ namespace TINK.Model.State
Reserved,
/// <summary>
/// Bike is booked. Corresponding COPRI statie is "occupied".
/// Bike is booked. Corresponding COPRI state is "occupied".
/// </summary>
Booked
}
@ -40,7 +40,7 @@ namespace TINK.Model.State
/// <summary>
/// Constructs a state info object when state is available.
/// </summary>
/// <param name="isFeedbackPending">Specifieds whether feedback is pending or not.</param>
/// <param name="isFeedbackPending">Specifies whether feedback is pending or not.</param>
public StateInfo(bool isFeedbackPending = false)
{
_InUseState = isFeedbackPending
@ -54,7 +54,7 @@ namespace TINK.Model.State
/// <param name="requestedAt">Date time when bike was requested</param>
/// <param name="mailAddress">Mail address of user which requested bike.</param>
/// <param name="code">Booking code.</param>
/// <param name="dateTimeNowProvider">Date time provider to calculate reaining time.</param>
/// <param name="dateTimeNowProvider">Date time provider to calculate remaining time.</param>
public StateInfo(
Func<DateTime> dateTimeNowProvider,
DateTime requestedAt,

View file

@ -12,7 +12,7 @@ namespace TINK.Model.State
public class StateInfoMutable : INotifyPropertyChanged, IStateInfoMutable
{
/// <summary>
/// Provider for current date time to calculate remainig time on demand for state of type reserved.
/// Provider for current date time to calculate remaining time on demand for state of type reserved.
/// </summary>
private readonly Func<DateTime> _DateTimeNowProvider;

View file

@ -688,8 +688,8 @@ namespace TINK.Model
new List<AppFlavor> { AppFlavor.MeinKonrad, AppFlavor.ShareeBike }
},
{
new Version(3, 0, 364),
AppResources.ChangeLog_MinorImprovements,
new Version(3, 0, 365),
AppResources.ChangeLog_3_0_365_MK_SB,
new List<AppFlavor> { AppFlavor.MeinKonrad, AppFlavor.ShareeBike }
},
};