fixes last commit

This commit is contained in:
2017-01-26 13:00:31 +01:00
parent a2403b676b
commit 7fc85f72e3
197 changed files with 2203 additions and 2204 deletions

View File

@ -11,7 +11,7 @@ using Android.Views;
using Android.Widget;
using Android.Accounts;
namespace BookAStar.Droid.Accounts
namespace ZicMoove.Droid.Accounts
{
class YavscAccountAuthenticator : AbstractAccountAuthenticator
{

View File

@ -3,7 +3,7 @@
using Plugin.Settings;
using Plugin.Settings.Abstractions;
namespace BookAStar.Droid.Helpers
namespace ZicMoove.Droid.Helpers
{
/// <summary>
/// This is the Settings static class that can be used in your Core solution or in any

View File

@ -25,7 +25,7 @@ using System.Threading.Tasks;
using Newtonsoft.Json;
using System;
using System.Diagnostics;
using BookAStar;
using ZicMoove;
namespace Yavsc.Helpers
{

View File

@ -5,9 +5,9 @@ using System.Collections.Specialized;
using System.Net;
using System.Runtime.Serialization.Json;
using System.Text;
using BookAStar.Model.Auth.Account;
using ZicMoove.Model.Auth.Account;
namespace BookAStar.Droid
namespace ZicMoove.Droid
{
public static class YavscHelpers

View File

@ -10,7 +10,7 @@ using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace BookAStar.Droid.Interfaces
namespace ZicMoove.Droid.Interfaces
{
interface IGCMessageHandler
{

View File

@ -35,12 +35,12 @@ using XLabs.Serialization.JsonNET;
using Yavsc.Helpers;
using Yavsc.Models.Identity;
namespace BookAStar.Droid
namespace ZicMoove.Droid
{
using Android.Runtime;
using Android.Support.V4.App;
using Android.Support.V4.Content;
using BookAStar.Interfaces;
using ZicMoove.Interfaces;
using Data;
using Droid.OAuth;
using Helpers;
@ -48,7 +48,7 @@ namespace BookAStar.Droid
using Model.Auth.Account;
using static Android.Manifest;
[Activity(Name = "fr.pschneider.bas.MainActivity", Label = "BookAStar", Theme = "@style/MainTheme", Icon = "@drawable/icon", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
[Activity(Name = "fr.pschneider.bas.MainActivity", Label = "ZicMoove", Theme = "@style/MainTheme", Icon = "@drawable/icon", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
public class MainActivity :
// global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity,
@ -103,7 +103,7 @@ namespace BookAStar.Droid
}
};
var fapp = new BookAStar.App(this);
var fapp = new ZicMoove.App(this);
LoadApplication(fapp);
@ -307,7 +307,7 @@ namespace BookAStar.Droid
using (var reader = new StreamReader(exception.Response.GetResponseStream()))
{
responseText = reader.ReadToEnd();
Log.Debug("BookAStar", responseText);
Log.Debug("ZicMoove", responseText);
}
}
}

View File

@ -12,7 +12,7 @@ using Android.Widget;
using Android.Webkit;
using Java.Interop;
namespace BookAStar.Droid.Markdown
namespace ZicMoove.Droid.Markdown
{
public class JsBridgeMarkdown : Java.Lang.Object
{

View File

@ -15,7 +15,7 @@ using XLabs.Platform.Mvvm;
using XLabs.Forms;
using static Android.Views.View;
namespace BookAStar.Droid.Markdown
namespace ZicMoove.Droid.Markdown
{
class MDContextMenu : AppCompatDialog
{

View File

@ -11,7 +11,7 @@ using Android.Views;
using Android.Widget;
using Android.Webkit;
namespace BookAStar.Droid.Markdown
namespace ZicMoove.Droid.Markdown
{
class MDWebView : WebView
{

View File

@ -9,7 +9,7 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace BookAStar.Droid.Markdown
namespace ZicMoove.Droid.Markdown
{
using System;
using System.Collections.Generic;
@ -17,7 +17,7 @@ using System.Linq;
using System.Text;
[System.CodeDom.Compiler.GeneratedCodeAttribute("RazorTemplatePreprocessor", "4.2.1.62")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("RazorTemplatePreprocessor", "4.2.2.11")]
public partial class MarkdownEditor : MarkdownEditorBase
{
@ -171,23 +171,23 @@ WriteLiteral(">\r\n var toolbarOptions = [\r\n [\'bold\', \'ital
"\'header\': 1 }, { \'header\': 2 }, { \'header\': 3 }], // custom button" +
" values\r\n [{ \'list\': \'ordered\' }, { \'list\': \'bullet\' }],\r\n [{ \'indent\'" +
": \'-1\' }, { \'indent\': \'+1\' }], // outdent/indent\r\n [\'link\', \'image" +
"\', \'video\'],\r\n [\'clean\'] // remove " +
"formatting button\r\n ];\r\n\r\n var showImageUI = function (val" +
"ue) {\r\n if (value) {\r\n var href = prompt(\'Ente" +
"r the URL\');\r\n this.quill.format(\'image\', href);\r\n " +
" } else {\r\n this.quill.format(\'image\', false);\r\n " +
" }\r\n };\r\n\r\n $(document).ready(function () {\r\n " +
" var quill = new Quill(\'#bubble-container\', {\r\n modul" +
"es: {\r\n toolbar: toolbarOptions\r\n },\r\n" +
" placeholder: \'Composez votre texte ...\',\r\n " +
" theme: \'snow\'\r\n });\r\n\r\n function getMD() {\r\n " +
" return markdownize($(\'#bubble-container div.ql-editor\').html())\r" +
"\n }\r\n quill.on(\'text-change\', function (delta, old" +
"Delta, source) {\r\n if (source === \"user\") {\r\n " +
" contentEdited(getMD());\r\n }\r\n });\r\n " +
" var toolbar = quill.getModule(\'toolbar\');\r\n toolbar." +
"addHandler(\'image\', showImageUI);\r\n jsLoaded();\r\n });\r" +
"\n </script>\r\n");
"\', \'audio\', \'video\'],\r\n [\'clean\'] /" +
"/ remove formatting button\r\n ];\r\n\r\n var showImageUI = func" +
"tion (value) {\r\n if (value) {\r\n var href = pro" +
"mpt(\'Enter the URL\');\r\n this.quill.format(\'image\', href);\r\n " +
" } else {\r\n this.quill.format(\'image\', false);\r\n" +
" }\r\n };\r\n\r\n $(document).ready(function () {" +
"\r\n var quill = new Quill(\'#bubble-container\', {\r\n " +
" modules: {\r\n toolbar: toolbarOptions\r\n " +
" },\r\n placeholder: \'Composez votre texte ...\',\r\n " +
" theme: \'snow\'\r\n });\r\n\r\n function getMD(" +
") {\r\n return markdownize($(\'#bubble-container div.ql-editor\')" +
".html())\r\n }\r\n quill.on(\'text-change\', function (d" +
"elta, oldDelta, source) {\r\n if (source === \"user\") {\r\n " +
" contentEdited(getMD());\r\n }\r\n " +
" });\r\n var toolbar = quill.getModule(\'toolbar\');\r\n " +
" toolbar.addHandler(\'image\', showImageUI);\r\n jsLoaded();\r\n " +
" });\r\n </script>\r\n");
#line 86 "MarkdownEditor.cshtml"

View File

@ -48,7 +48,7 @@
[{ 'header': 1 }, { 'header': 2 }, { 'header': 3 }], // custom button values
[{ 'list': 'ordered' }, { 'list': 'bullet' }],
[{ 'indent': '-1' }, { 'indent': '+1' }], // outdent/indent
['link', 'image', 'video'],
['link', 'image', 'audio', 'video'],
['clean'] // remove formatting button
];

View File

@ -11,7 +11,7 @@ using Android.Views;
using Android.Widget;
using Android.Graphics;
namespace BookAStar.Droid.Markdown
namespace ZicMoove.Droid.Markdown
{
public class MarkdownViewModel
{

View File

@ -1,15 +1,15 @@
using BookAStar.Views;
using ZicMoove.Views;
using Android.Webkit;
using Xamarin.Forms.Platform.Android;
using BookAStar.Droid;
using ZicMoove.Droid;
using System;
using Java.Interop;
using System.ComponentModel;
using Android.Views;
[assembly: Xamarin.Forms.ExportRenderer(typeof(MarkdownView), typeof(MarkdownViewRenderer))]
namespace BookAStar.Droid
namespace ZicMoove.Droid
{
using Markdown;
using XLabs.Forms;

View File

@ -11,7 +11,7 @@ using Android.Views;
using Android.Widget;
using Android.Webkit;
namespace BookAStar.Droid.Markdown
namespace ZicMoove.Droid.Markdown
{
class MarkdownWebChromeClient : WebChromeClient
{

View File

@ -6,8 +6,8 @@ using Xamarin.Utilities;
using System.Net;
using System.Text;
using Xamarin.Auth;
using BookAStar.Droid.OAuth.Xamarin.Utilities;
namespace BookAStar.Droid.OAuth {
using ZicMoove.Droid.OAuth.Xamarin.Utilities;
namespace ZicMoove.Droid.OAuth {
public class YaOAuth2Authenticator : WebRedirectAuthenticator
{

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="fr.pschneider.bas" android:installLocation="auto">
<uses-sdk android:minSdkVersion="15" />
<application android:allowBackup="true" android:label="Booking Star" android:icon="@drawable/icon" android:theme="@style/MainTheme" android:configChanges="navigation|screenLayout|orientation|screenSize|smallestScreenSize">
<application android:allowBackup="true" android:label="@string/app_name" android:icon="@drawable/icon" android:theme="@style/MainTheme" android:configChanges="navigation|screenLayout|orientation|screenSize|smallestScreenSize">
<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="AIzaSyBLSEDhZixwpHDsWmO2pKwgGDJReoTuQ7A" />
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
<receiver android:name="com.google.android.gms.gcm.GcmReceiver" android:exported="true" android:permission="com.google.android.c2dm.permission.SEND">

View File

@ -6,11 +6,11 @@ using Android.App;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("BookAStar.Droid")]
[assembly: AssemblyTitle("ZicMoove.Droid")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("BookAStar.Droid")]
[assembly: AssemblyProduct("ZicMoove.Droid")]
[assembly: AssemblyCopyright("Copyright © Paul Albert Schneider 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("fr")]

View File

@ -29,18 +29,18 @@ using XLabs.Enums;
using XLabs.Forms.Extensions;
using Color = Xamarin.Forms.Color;
using View = Android.Views.View;
using BookAStar.Rendering;
using BookAStar.Views;
using ZicMoove.Rendering;
using ZicMoove.Views;
using Xamarin.Forms.Platform.Android.AppCompat;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
using System.IO;
using BookAStar.Helpers;
using ZicMoove.Helpers;
using System.Reflection;
using System.Threading;
[assembly: ExportRenderer(typeof(ImageButton), typeof(ImageButtonRenderer))]
namespace BookAStar.Rendering
namespace ZicMoove.Rendering
{
/// <summary>
/// Draws a button on the Android platform with the image shown in the right

File diff suppressed because it is too large Load Diff

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Booking star</string>
<string name="app_name">ZicMoove</string>
<string name="send_to_app_name">Vers les étoiles</string>
<string name="yavscIdentRemoved">Identification supprimée</string>
<string name="yavscAccountTypeName">Booking star</string>
<string name="yavscAccountTypeName">ZicMoove</string>
<string name="cancel">Annuler</string>
<string name="Settings">Paramètres</string>
<string name="Title">Title</string>
@ -15,8 +15,8 @@
<string name="url_hint">url_hint</string>
<string name="picture">picture</string>
<string name="google_app_id">325408689282</string>
<string name="pref_screen_title">Comptes Booking Star</string>
<string name="account_authenticator_label">Comptes Booking Star</string>
<string name="pref_screen_title">Comptes ZicMoove</string>
<string name="account_authenticator_label">Comptes ZicMoove</string>
<string name="copy">Copier</string>
<string name="past">Coller</string>
@ -33,6 +33,6 @@
<string name="accounts">Comptes</string>
<string name="bookingstar_accounts_pref_screen_summary">
Préférences des comptes Booking Star
Préférences des comptes ZicMoove
</string>
</resources>

View File

@ -10,7 +10,7 @@ using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace BookAStar.Droid
namespace ZicMoove.Droid
{
[Activity(Name= "fr.pschneider.bas.SendFilesActivity", Label = "SendFilesActivity")]
public class SendFilesActivity : Activity

View File

@ -9,9 +9,9 @@ using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using BookAStar.Droid.OAuth;
using ZicMoove.Droid.OAuth;
namespace BookAStar.Droid.Services
namespace ZicMoove.Droid.Services
{
[Service(
Name = "fr.pschneider.bas.AccountChooserService",

View File

@ -9,13 +9,13 @@ using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using BookAStar.Droid.Interfaces;
using ZicMoove.Droid.Interfaces;
using Newtonsoft.Json;
using BookAStar.Model.Social;
using BookAStar.Data;
using BookAStar.Model;
using ZicMoove.Model.Social;
using ZicMoove.Data;
using ZicMoove.Model;
namespace BookAStar.Droid.Services.GCMHandlers
namespace ZicMoove.Droid.Services.GCMHandlers
{
class BookQueryGCMHandler : GCMessageHandler
{

View File

@ -10,12 +10,12 @@ using Android.Runtime;
using Android.Views;
using Android.Widget;
using Newtonsoft.Json;
using BookAStar.Model.Social;
using BookAStar.Model;
using BookAStar.Model.Workflow;
using BookAStar.Data;
using ZicMoove.Model.Social;
using ZicMoove.Model;
using ZicMoove.Model.Workflow;
using ZicMoove.Data;
namespace BookAStar.Droid.Services.GCMHandlers
namespace ZicMoove.Droid.Services.GCMHandlers
{
class EstimateGCMHandler: GCMessageHandler
{

View File

@ -9,9 +9,9 @@ using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using BookAStar.Droid.Interfaces;
using ZicMoove.Droid.Interfaces;
namespace BookAStar.Droid.Services.GCMHandlers
namespace ZicMoove.Droid.Services.GCMHandlers
{
abstract class GCMessageHandler : IGCMessageHandler
{

View File

@ -8,7 +8,7 @@ using System;
using System.Collections.Generic;
using System.Linq;
namespace BookAStar.Droid.Services
namespace ZicMoove.Droid.Services
{
using Model.Social;
using Model;

View File

@ -9,7 +9,7 @@ using Android.Gms.Gcm.Iid;
using Android.OS;
using Android;
namespace BookAStar.Droid
namespace ZicMoove.Droid
{
[Service(Exported = false)]
@ -29,7 +29,7 @@ namespace BookAStar.Droid
{
base.OnCreate();
sWakeLock = PowerManager.FromContext(this).NewWakeLock(WakeLockFlags.Partial,
"BookAStar");
"ZicMoove");
sWakeLock.Acquire();
}
public override void OnDestroy()

View File

@ -5,7 +5,7 @@ using Android.Content;
using Android.Util;
using Android.Widget;
namespace BookAStar.Droid
namespace ZicMoove.Droid
{
[Service]
public class MyGcmIntentService : IntentService

View File

@ -3,7 +3,7 @@ using Android.App;
using Android.Gms.Gcm.Iid;
using Android.Content;
namespace BookAStar.Droid
namespace ZicMoove.Droid
{
[Service(Exported = false), IntentFilter(new[] { "com.google.android.gms.iid.InstanceID" })]
class MyInstanceIDListenerService : InstanceIDListenerService

View File

@ -12,7 +12,7 @@ using Android.Widget;
using Android.Service.Chooser;
using static Android.Manifest;
namespace BookAStar.Droid
namespace ZicMoove.Droid
{
[Service(
Name = "fr.pschneider.bas.YavscChooserTargetService",
@ -33,7 +33,7 @@ namespace BookAStar.Droid
ChooserTarget t = new ChooserTarget(
new Java.Lang.String(
Constants.ApplicationName), i,
.5f, new ComponentName(this, "BookAStar.SendFilesActivity"),
.5f, new ComponentName(this, "ZicMoove.SendFilesActivity"),
null);
var res = new List<ChooserTarget>();
res.Add(t);

View File

@ -9,8 +9,8 @@
<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>BookAStar.Droid</RootNamespace>
<AssemblyName>BookAStar.Droid</AssemblyName>
<RootNamespace>ZicMoove.Droid</RootNamespace>
<AssemblyName>ZicMoove.Droid</AssemblyName>
<FileAlignment>512</FileAlignment>
<AndroidApplication>true</AndroidApplication>
<AndroidResgenFile>Resources\Resource.Designer.cs</AndroidResgenFile>

View File

@ -4,8 +4,8 @@ using System.Linq;
using Foundation;
using UIKit;
using BookAStar;
using BookAStar.Interfaces;
using ZicMoove;
using ZicMoove.Interfaces;
using Yavsc.Models.Identity;
namespace App2.iOS

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<Application xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="BookAStar.App"
x:Class="ZicMoove.App"
xmlns:sys="clr-namespace:System;assembly=mscorlib">
<Application.Resources>

View File

@ -14,7 +14,7 @@ using XLabs.Settings;
using XLabs;
using XLabs.Enums;
namespace BookAStar
namespace ZicMoove
{
using Data;
using Interfaces;

View File

@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BookAStar.Attributes
namespace ZicMoove.Attributes
{
class CurrencyAttribute: Attribute
{

View File

@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BookAStar.Attributes
namespace ZicMoove.Attributes
{
class DisplayAttribute : Attribute
{

View File

@ -5,32 +5,31 @@ using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace BookAStar
namespace ZicMoove
{
public static class Constants
{
#if DEV
public const string ApplicationName = "yadev";
public const string YavscHomeUrl = "http://dev.pschneider.fr";
#else
#if WDEV
#endif
#if WDEV
// against a Windows local API
public const string ApplicationName = "yawindev";
public const string YavscHomeUrl = "http://192.168.0.29:5000";
#else
#endif
#if YAVSC
public const string ApplicationName = "yavsc";
public const string YavscHomeUrl = "https://yavsc.pschneider.fr";
#else
#endif
#if LUA
public const string ApplicationName = "Luap";
public const string YavscHomeUrl = "https://lua.pschneider.fr";
#else
public const string YavscHomeUrl = "https://booking.pschneider.fr";
#endif
#endif
#endif
#if ZICMOOVE
public const string ApplicationName = "ZicMoove";
public const string YavscHomeUrl = "https://zicmoove.pschneider.fr";
#endif
public static readonly string AuthorizeUrl = YavscHomeUrl + "/authorize";
public static readonly string RedirectUrl = YavscHomeUrl + "/oauth/success";

View File

@ -6,7 +6,7 @@ using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace BookAStar.Behaviors
namespace ZicMoove.Behaviors
{
public class DecimalValidatorBehavior : Behavior<Entry>
{

View File

@ -1,7 +1,7 @@
using System;
using Xamarin.Forms;
namespace BookAStar.Behaviors
namespace ZicMoove.Behaviors
{
public class EditorMaxLengthValidator : Behavior<Editor>
{

View File

@ -6,7 +6,7 @@ using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace BookAStar.Behaviors
namespace ZicMoove.Behaviors
{
public class EmailValidatorBehavior : RegexValidatorBehavior
{

View File

@ -1,6 +1,6 @@
using Xamarin.Forms;
namespace BookAStar.Behaviors
namespace ZicMoove.Behaviors
{
public class IntegerEntryBehavior : Behavior<Entry>
{

View File

@ -1,7 +1,7 @@
using BookAStar.Views;
using ZicMoove.Views;
using Xamarin.Forms;
namespace BookAStar.Behaviors
namespace ZicMoove.Behaviors
{
public class MarkdownViewLengthValidator : Behavior<MarkdownView>
{

View File

@ -5,7 +5,7 @@ using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace BookAStar.Behaviors
namespace ZicMoove.Behaviors
{
public class PickerBehavior : Behavior<Picker>
{

View File

@ -2,7 +2,7 @@
using System.Text.RegularExpressions;
using Xamarin.Forms;
namespace BookAStar.Behaviors
namespace ZicMoove.Behaviors
{
public class RegexValidatorBehavior : Behavior<Entry>
{

View File

@ -5,7 +5,7 @@ using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace BookAStar.Behaviors
namespace ZicMoove.Behaviors
{
public class StarBehavior : Behavior<View>
{

View File

@ -6,7 +6,7 @@ using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace BookAStar.Converters
namespace ZicMoove.Converters
{
public class BooleanToObjectConverter<T> : IValueConverter
{

View File

@ -2,7 +2,7 @@
using System.Globalization;
using Xamarin.Forms;
namespace BookAStar.Converters
namespace ZicMoove.Converters
{
/// <summary>
/// When EnumType:int

View File

@ -5,7 +5,7 @@ using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace BookAStar.Converters
namespace ZicMoove.Converters
{
class GenderConverter : IValueConverter
{

View File

@ -2,7 +2,7 @@
using System.Globalization;
using Xamarin.Forms;
namespace BookAStar.Converters
namespace ZicMoove.Converters
{
public class NotValueConverter : IValueConverter
{

View File

@ -5,7 +5,7 @@ using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace BookAStar.Converters
namespace ZicMoove.Converters
{
class RatingText : IValueConverter
{

View File

@ -8,7 +8,7 @@ using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace BookAStar.Converters
namespace ZicMoove.Converters
{
public class SignalRConnectionStateToObject<T> : IValueConverter
{

View File

@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BookAStar.Data
namespace ZicMoove.Data
{
class ApiCallFailedException : Exception
{

View File

@ -1,4 +1,4 @@
namespace BookAStar.Data
namespace ZicMoove.Data
{
using Model;
using Model.Blog;

View File

@ -1,5 +1,5 @@

namespace BookAStar.Data
namespace ZicMoove.Data
{
using Helpers;
using Model.Workflow;

View File

@ -4,7 +4,7 @@ using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
namespace BookAStar.Data
namespace ZicMoove.Data
{
public class LocalEntity<V, K> : ObservableCollection<V>, ILocalEntity<V, K> where K : IEquatable<K>
{

View File

@ -2,7 +2,7 @@
using Newtonsoft.Json;
using System;
namespace BookAStar.Data.NonCrUD
namespace ZicMoove.Data.NonCrUD
{
using Helpers;
using Model.FileSystem;

View File

@ -6,7 +6,7 @@ using Newtonsoft.Json;
using System.Threading.Tasks;
using System.Net;
namespace BookAStar.Data
namespace ZicMoove.Data
{
using Helpers;
using System.Diagnostics;

View File

@ -1,7 +1,7 @@
using System;
using System.Linq;
namespace BookAStar.Data
namespace ZicMoove.Data
{
public class RemoteEntityRO<V,K>: RemoteEntity<V,K> where K: IEquatable<K>
{

View File

@ -1,4 +1,4 @@
using BookAStar.Attributes;
using ZicMoove.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
@ -6,7 +6,7 @@ using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace BookAStar.Extensions
namespace ZicMoove.Extensions
{
public static class EnumExtensions
{

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace BookAStar.Extensions
namespace ZicMoove.Extensions
{
[ContentProperty("Source")]
public class ImageResourceExtension : IMarkupExtension

View File

@ -1,4 +1,4 @@
using BookAStar.Interfaces;
using ZicMoove.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
@ -6,7 +6,7 @@ using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace BookAStar.Factories
namespace ZicMoove.Factories
{
public class ViewFactory : IViewFactory
{

View File

@ -1,6 +1,6 @@
using System;
namespace BookAStar
namespace ZicMoove
{
public class NotIdentifiedException : Exception
{

View File

@ -5,7 +5,7 @@ using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace BookAStar.Helpers
namespace ZicMoove.Helpers
{
public static class PageHelpers
{

View File

@ -5,7 +5,7 @@ using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace BookAStar.Helpers
namespace ZicMoove.Helpers
{
public static class PropertySupport
{

View File

@ -1,6 +1,6 @@
using System;
namespace BookAStar
namespace ZicMoove
{
public class ServiceNotAvailable : Exception
{

View File

@ -1,7 +1,7 @@
// Helpers/Settings.cs
#if USELESS_but_makes_the_component_removable // this file must exist ^^
namespace BookAStar.Helpers
namespace ZicMoove.Helpers
{
/// <summary>
/// This is the Settings static class that can be used in your Core solution or in any

View File

@ -6,7 +6,7 @@ using System.Net.Http;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace BookAStar.Helpers
namespace ZicMoove.Helpers
{
using Data.NonCrUD;
using Model.FileSystem;
@ -16,7 +16,7 @@ namespace BookAStar.Helpers
public static ImageSource Avatar(string avatarPath)
{
var result = avatarPath == null ?
ImageSource.FromResource( "BookAStar.Images.Users.icon_user.png") :
ImageSource.FromResource( "ZicMoove.Images.Users.icon_user.png") :
ImageSource.FromUri(new Uri(Constants.YavscHomeUrl+"/Avatars/"+avatarPath)) ;
return result;
}
@ -24,14 +24,14 @@ namespace BookAStar.Helpers
public static ImageSource SmallAvatar(string avatarPath, string username)
{
return avatarPath == null ?
ImageSource.FromResource("BookAStar.Images.Users.icon_user.png") :
ImageSource.FromResource("ZicMoove.Images.Users.icon_user.png") :
ImageSource.FromUri(new Uri($"{Constants.YavscHomeUrl}/Avatars/{username}.s.png"));
}
public static ImageSource ExtraSmallAvatar(string avatarPath, string username)
{
return avatarPath == null ?
ImageSource.FromResource("BookAStar.Images.Users.icon_user.png") :
ImageSource.FromResource("ZicMoove.Images.Users.icon_user.png") :
ImageSource.FromUri(new Uri($"{Constants.YavscHomeUrl}/Avatars/{username}.xs.png"));
}

View File

@ -1,6 +1,6 @@
using System;
namespace BookAStar.Interfaces
namespace ZicMoove.Interfaces
{
public interface IBillingLine
{

View File

@ -1,8 +1,8 @@
using System;
using BookAStar.Model.Social;
using BookAStar.Model;
using ZicMoove.Model.Social;
using ZicMoove.Model;
namespace BookAStar.Interfaces
namespace ZicMoove.Interfaces
{
public interface IBookQueryData
{

View File

@ -1,7 +1,7 @@

using System;
namespace BookAStar.Interfaces
namespace ZicMoove.Interfaces
{
public interface IComponentContext
{

View File

@ -1,7 +1,7 @@
using BookAStar.Model.Workflow;
using ZicMoove.Model.Workflow;
using System.Collections.Generic;
namespace BookAStar.Model.Interfaces
namespace ZicMoove.Model.Interfaces
{
public interface IEstimate
{

View File

@ -1,7 +1,7 @@
using System;
using System.Collections;
namespace BookAStar
namespace ZicMoove
{
public interface ILoadable
{

View File

@ -1,7 +1,7 @@
using System;
using Xamarin.Forms;
namespace BookAStar.Interfaces
namespace ZicMoove.Interfaces
{
public interface IMDEditor
{

View File

@ -5,7 +5,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BookAStar.Interfaces
namespace ZicMoove.Interfaces
{
public interface IModelViewModel : INotifyPropertyChanged
{

View File

@ -1,9 +1,9 @@
using BookAStar.Model.Auth.Account;
using ZicMoove.Model.Auth.Account;
using System;
using Xamarin.Forms;
using Yavsc.Models.Identity;
namespace BookAStar.Interfaces
namespace ZicMoove.Interfaces
{
public interface IPlatform
{

View File

@ -5,7 +5,7 @@ using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace BookAStar.Interfaces
namespace ZicMoove.Interfaces
{
public interface IViewFactory
{

View File

@ -1,4 +1,4 @@
using BookAStar.Model.Access;
using ZicMoove.Model.Access;
using System;
using System.Collections.Generic;
using System.Linq;
@ -6,7 +6,7 @@ using System.Text;
using System.Threading.Tasks;
using Yavsc.Models;
namespace BookAStar.Model.Access
namespace ZicMoove.Model.Access
{
public class BlackListed : IBlackListed
{

View File

@ -1,7 +1,7 @@
using System;
namespace BookAStar.Model.Auth.Account
namespace ZicMoove.Model.Auth.Account
{
using Yavsc.Models;

View File

@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BookAStar.Model.Auth.Account
namespace ZicMoove.Model.Auth.Account
{
public class Tokens
{

View File

@ -1,10 +1,10 @@
using BookAStar.Helpers;
using ZicMoove.Helpers;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.ComponentModel;
using Xamarin.Forms;
namespace BookAStar.Model.Auth.Account
namespace ZicMoove.Model.Auth.Account
{
public class User : INotifyPropertyChanged
{

View File

@ -1,6 +1,6 @@
using System;
namespace BookAStar.Model.Auth.Account
namespace ZicMoove.Model.Auth.Account
{
public partial class passwrecovery
{

View File

@ -1,7 +1,7 @@
using System;
using Yavsc.Models;
namespace BookAStar.Model.Blog
namespace ZicMoove.Model.Blog
{
public partial class Blog : IBlog
{

View File

@ -1,7 +1,7 @@
namespace BookAStar.Model.Blog
namespace ZicMoove.Model.Blog
{
public partial class BlogTag
{

View File

@ -1,7 +1,7 @@

using System;
namespace BookAStar.Model.Social
namespace ZicMoove.Model.Social
{
public class BookQuery
{

View File

@ -1,5 +1,5 @@
namespace BookAStar.Model.Social
namespace ZicMoove.Model.Social
{
public class MusicalPreference : MusicalTendency {

View File

@ -1,5 +1,5 @@
namespace BookAStar.Model.Social
namespace ZicMoove.Model.Social
{
public class MusicalTendency {

View File

@ -1,9 +1,9 @@
using BookAStar.Helpers;
using BookAStar.Model.Social;
using ZicMoove.Helpers;
using ZicMoove.Model.Social;
using Newtonsoft.Json;
using Xamarin.Forms;
namespace BookAStar.Model
namespace ZicMoove.Model
{
public class ClientProviderInfo
{

View File

@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BookAStar.Model.FileSystem
namespace ZicMoove.Model.FileSystem
{
public class FileAddress : IEquatable<FileAddress>
{

View File

@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BookAStar.Model.FileSystem
namespace ZicMoove.Model.FileSystem
{
public class UserFileInfo
{

View File

@ -1,10 +1,10 @@
using BookAStar.Model.Social;
using ZicMoove.Model.Social;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Windows.Input;
namespace BookAStar
namespace ZicMoove
{
[Obsolete("Use Helpers.DataManager")]
public static class Manager
@ -28,7 +28,7 @@ namespace BookAStar
new LocalizedEvent {
Title = "Yavsc Party",
Description = "Lancement en fanfare de la version 1.0 de BookAStar, l'appli des fétards",
Description = "Lancement en fanfare de la version 1.0 de ZicMoove, l'appli des fétards",
ProviderId = "paul",
ProviderName = "Yavsc Fondation",
EventWebPage = "http://lua.pschneider.fr/",

View File

@ -1,5 +1,5 @@

namespace BookAStar.Model.Workflow
namespace ZicMoove.Model.Workflow
{
public partial class BaseProduct
{

View File

@ -2,7 +2,7 @@
using System.Linq;
using Xamarin.Forms;
namespace BookAStar.Model.Settings
namespace ZicMoove.Model.Settings
{
class SignatureSettings
{

View File

@ -21,7 +21,7 @@
using System;
namespace BookAStar.Model.Workflow.Calendar
namespace ZicMoove.Model.Workflow.Calendar
{
/// <summary>

View File

@ -21,7 +21,7 @@
using System;
namespace BookAStar.Model.Workflow.Calendar
namespace ZicMoove.Model.Workflow.Calendar
{
/// <summary>
/// Hollydays.

View File

@ -19,7 +19,7 @@
// You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
namespace BookAStar.Model.Workflow.Calendar
namespace ZicMoove.Model.Workflow.Calendar
{
/// <summary>
/// Periodicity.

View File

@ -1,8 +1,8 @@
using BookAStar.Model.Social;
using BookAStar.Model.Workflow.Marketing;
using ZicMoove.Model.Social;
using ZicMoove.Model.Workflow.Marketing;
using System;
namespace BookAStar.Model.Workflow.Calendar
namespace ZicMoove.Model.Workflow.Calendar
{
/// <summary>
/// A date, between two persons

View File

@ -20,7 +20,7 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>.
namespace BookAStar.Model.Workflow.Calendar
namespace ZicMoove.Model.Workflow.Calendar
{
/// <summary>
/// Schedule.

View File

@ -19,7 +19,7 @@
// You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
namespace BookAStar.Model.Workflow.Calendar
namespace ZicMoove.Model.Workflow.Calendar
{
/// <summary>
/// Week day.

View File

@ -1,9 +1,9 @@
using BookAStar.Data;
using ZicMoove.Data;
using Newtonsoft.Json;
using System;
using System.Linq;
namespace BookAStar.Model.Social.Messaging
namespace ZicMoove.Model.Social.Messaging
{
public class ChatMessage
{

View File

@ -1,4 +1,4 @@
namespace BookAStar.Model.Workflow.Messaging
namespace ZicMoove.Model.Workflow.Messaging
{
public enum ChatStatus
{

Some files were not shown because too many files have changed in this diff Show More