refactoring: --YavscLib-- => Yavsc

main
Paul Schneider 9 years ago
parent e07c06b32e
commit 2a8b078024
102 changed files with 216 additions and 209 deletions

@ -1,4 +1,4 @@
namespace YavscLib namespace Yavsc
{ {
public interface IAccountBalance public interface IAccountBalance
{ {

@ -1,4 +1,4 @@
namespace YavscLib.Billing namespace Yavsc.Billing
{ {
public interface IBillItem { public interface IBillItem {
string Name { get; set; } string Name { get; set; }

@ -1,6 +1,6 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace YavscLib.Billing namespace Yavsc.Billing
{ {
public interface IBillable { public interface IBillable {
string Description { get; set; } string Description { get; set; }

@ -1,5 +1,5 @@
namespace YavscLib.Billing namespace Yavsc.Billing
{ {
public interface IBillingImpacter {  public interface IBillingImpacter { 
decimal Impact(decimal orgValue); decimal Impact(decimal orgValue);

@ -1,4 +1,5 @@
namespace YavscLib.Billing
namespace Yavsc.Billing
{ {
public interface ICommandLine : IBillItem public interface ICommandLine : IBillItem

@ -1,4 +1,4 @@
namespace YavscLib.Workflow namespace Yavsc
{ {
using System.Collections.Generic; using System.Collections.Generic;
public interface IEstimate public interface IEstimate

@ -1,7 +1,7 @@
 
using YavscLib.Interfaces;
namespace YavscLib
namespace Yavsc
{ {
public interface IBlog : IBaseTrackedEntity, IIdentified<long>, IRating<long>, ITitle public interface IBlog : IBaseTrackedEntity, IIdentified<long>, IRating<long>, ITitle
{ {

@ -1,6 +1,6 @@
using System; using System;
namespace YavscLib namespace Yavsc
{ {
public interface IBaseTrackedEntity public interface IBaseTrackedEntity
{ {

@ -19,7 +19,7 @@
// You should have received a copy of the GNU Lesser General Public License // 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/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
namespace YavscLib namespace Yavsc
{ {
/// <summary> /// <summary>
/// I identified. /// I identified.

@ -1,6 +1,6 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace YavscLib namespace Yavsc
{ {
public interface ILetter<T> : IEqualityComparer<T> { public interface ILetter<T> : IEqualityComparer<T> {
} }

@ -18,7 +18,7 @@
// //
// You should have received a copy of the GNU Lesser General Public License // 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/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
namespace YavscLib namespace Yavsc
{ {
public interface ITitle public interface ITitle
{ {

@ -1,4 +1,4 @@
namespace YavscLib namespace Yavsc
{ {
public interface IApplicationUser public interface IApplicationUser
{ {

@ -1,4 +1,4 @@
namespace YavscLib namespace Yavsc
{ {
public interface IConnection public interface IConnection
{ {

@ -1,4 +1,4 @@
namespace YavscLib namespace Yavsc
{ {
public interface ICircleAuthorization public interface ICircleAuthorization

@ -1,4 +1,4 @@
namespace YavscLib namespace Yavsc
{ {
public interface ICircleAuthorized public interface ICircleAuthorized
{ {

@ -1,6 +1,6 @@
using System; using System;
namespace YavscLib namespace Yavsc
{ {
public interface IActivity public interface IActivity
{ {

@ -1,4 +1,4 @@
namespace YavscLib namespace Yavsc
{ {
public interface ICoWorking public interface ICoWorking
{ {

@ -1,4 +1,4 @@
namespace YavscLib namespace Yavsc
{ {
public interface ICommandForm public interface ICommandForm
{ {

@ -1,4 +1,4 @@
namespace YavscLib namespace Yavsc
{ {
public interface IContact public interface IContact
{ {

@ -18,7 +18,7 @@
using System; using System;
namespace YavscLib namespace Yavsc
{ {
public interface IGCMDeclaration public interface IGCMDeclaration
{ {

@ -1,4 +1,4 @@
namespace YavscLib namespace Yavsc
{ {
public interface ILocation public interface ILocation
{ {

@ -1,4 +1,4 @@
namespace YavscLib.Workflow namespace Yavsc.Workflow
{ {
public interface IPerformerProfile public interface IPerformerProfile
{ {

@ -1,7 +1,7 @@
namespace YavscLib.Workflow namespace Yavsc.Workflow
{ {
using YavscLib; using Yavsc;
using YavscLib.Billing; using Yavsc.Billing;
public interface IQuery: IBaseTrackedEntity, IBillable public interface IQuery: IBaseTrackedEntity, IBillable
{ {

@ -19,7 +19,7 @@
// You should have received a copy of the GNU Lesser General Public License // 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/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
namespace YavscLib.Interfaces namespace Yavsc
{ {
/// <summary> /// <summary>

@ -1,4 +1,4 @@
namespace YavscLib namespace Yavsc
{ {
public interface ISpecializationSettings public interface ISpecializationSettings
{ {

@ -1,4 +1,4 @@
namespace YavscLib namespace Yavsc
{ {
/// <summary> /// <summary>
/// Status, /// Status,

@ -8,8 +8,8 @@
<ProjectGuid>{67F9D3A8-F71E-4428-913F-C37AE82CDB24}</ProjectGuid> <ProjectGuid>{67F9D3A8-F71E-4428-913F-C37AE82CDB24}</ProjectGuid>
<OutputType>Library</OutputType> <OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder> <AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Yavsc.Client</RootNamespace> <RootNamespace>Yavsc</RootNamespace>
<AssemblyName>Yavsc.Client</AssemblyName> <AssemblyName>Yavsc.Abstract</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkProfile>Profile111</TargetFrameworkProfile> <TargetFrameworkProfile>Profile111</TargetFrameworkProfile>
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
@ -73,11 +73,17 @@
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Compile Include="IBaseTrackedEntity.cs" />
<Compile Include="IIdentified.cs" />
<Compile Include="ITitle.cs" />
<Compile Include="Billing\IAccountBalance.cs" /> <Compile Include="Billing\IAccountBalance.cs" />
<Compile Include="Billing\IcommandLine.cs" /> <Compile Include="Billing\IBillable.cs" />
<Compile Include="Billing\IBillingImpacter.cs" />
<Compile Include="Billing\IBillItem.cs" />
<Compile Include="Billing\ICommandLine.cs" />
<Compile Include="Billing\IEstimate.cs" /> <Compile Include="Billing\IEstimate.cs" />
<Compile Include="Workflow\IRating.cs" />
<Compile Include="Blogspot\IBlog.cs" /> <Compile Include="Blogspot\IBlog.cs" />
<Compile Include="IBaseTrackedEntity.cs" />
<Compile Include="Identity\IApplicationUser.cs" /> <Compile Include="Identity\IApplicationUser.cs" />
<Compile Include="Identity\IChatUserInfo.cs" /> <Compile Include="Identity\IChatUserInfo.cs" />
<Compile Include="Identity\Security\ICircleAuthorization.cs" /> <Compile Include="Identity\Security\ICircleAuthorization.cs" />

@ -6,7 +6,7 @@ using Microsoft.Extensions.Localization;
namespace Yavsc.ApiControllers namespace Yavsc.ApiControllers
{ {
using YavscLib; using Yavsc;
using System; using System;
using System.Linq; using System.Linq;
using System.Security.Claims; using System.Security.Claims;

@ -20,7 +20,7 @@ using Microsoft.Data.Entity;
namespace Yavsc.Controllers namespace Yavsc.Controllers
{ {
[AllowAnonymous]
public class AccountController : Controller public class AccountController : Controller
{ {
private readonly UserManager<ApplicationUser> _userManager; private readonly UserManager<ApplicationUser> _userManager;
@ -61,6 +61,13 @@ namespace Yavsc.Controllers
_dbContext = dbContext; _dbContext = dbContext;
} }
[Authorize(Roles=Constants.AdminGroupName)]
public async Task<IActionResult> UserList ()
{
return View(await _dbContext.Users.ToArrayAsync());
}
[AllowAnonymous]
[HttpGet(Constants.LoginPath)] [HttpGet(Constants.LoginPath)]
public ActionResult SignIn(string returnUrl = null) public ActionResult SignIn(string returnUrl = null)
{ {
@ -79,6 +86,7 @@ namespace Yavsc.Controllers
*/ */
} }
[AllowAnonymous]
public ActionResult AccessDenied(string requestUrl = null) public ActionResult AccessDenied(string requestUrl = null)
{ {
ViewBag.UserIsSignedIn = User.IsSignedIn(); ViewBag.UserIsSignedIn = User.IsSignedIn();
@ -89,6 +97,7 @@ namespace Yavsc.Controllers
return View("AccessDenied",requestUrl); return View("AccessDenied",requestUrl);
} }
[AllowAnonymous]
[HttpPost(Constants.LoginPath)] [HttpPost(Constants.LoginPath)]
public async Task<IActionResult> SignIn(SignInViewModel model) public async Task<IActionResult> SignIn(SignInViewModel model)
{ {
@ -169,6 +178,7 @@ namespace Yavsc.Controllers
// //
// GET: /Account/Register // GET: /Account/Register
[AllowAnonymous]
[HttpGet] [HttpGet]
public IActionResult Register() public IActionResult Register()
{ {
@ -178,6 +188,7 @@ namespace Yavsc.Controllers
// //
// POST: /Account/Register // POST: /Account/Register
[HttpPost] [HttpPost]
[AllowAnonymous]
[ValidateAntiForgeryToken] [ValidateAntiForgeryToken]
public async Task<IActionResult> Register(RegisterViewModel model) public async Task<IActionResult> Register(RegisterViewModel model)
{ {
@ -220,6 +231,7 @@ namespace Yavsc.Controllers
// //
// GET: /Account/ExternalLoginCallback // GET: /Account/ExternalLoginCallback
[HttpGet] [HttpGet]
[AllowAnonymous]
public async Task<IActionResult> ExternalLoginCallback(string returnUrl = null) public async Task<IActionResult> ExternalLoginCallback(string returnUrl = null)
{ {
var info = await _signInManager.GetExternalLoginInfoAsync(); var info = await _signInManager.GetExternalLoginInfoAsync();
@ -285,6 +297,7 @@ namespace Yavsc.Controllers
// POST: /Account/ExternalLoginConfirmation // POST: /Account/ExternalLoginConfirmation
[HttpPost] [HttpPost]
[ValidateAntiForgeryToken] [ValidateAntiForgeryToken]
[AllowAnonymous]
public async Task<IActionResult> ExternalLoginConfirmation(ExternalLoginConfirmationViewModel model, string returnUrl = null) public async Task<IActionResult> ExternalLoginConfirmation(ExternalLoginConfirmationViewModel model, string returnUrl = null)
{ {
if (User.IsSignedIn()) if (User.IsSignedIn())
@ -324,6 +337,7 @@ namespace Yavsc.Controllers
// GET: /Account/ConfirmEmail // GET: /Account/ConfirmEmail
[HttpGet] [HttpGet]
[AllowAnonymous]
public async Task<IActionResult> ConfirmEmail(string userId, string code) public async Task<IActionResult> ConfirmEmail(string userId, string code)
{ {
if (userId == null || code == null) if (userId == null || code == null)
@ -342,6 +356,7 @@ namespace Yavsc.Controllers
// //
// GET: /Account/ForgotPassword // GET: /Account/ForgotPassword
[HttpGet] [HttpGet]
[AllowAnonymous]
public IActionResult ForgotPassword() public IActionResult ForgotPassword()
{ {
return View(); return View();
@ -350,6 +365,7 @@ namespace Yavsc.Controllers
// //
// POST: /Account/ForgotPassword // POST: /Account/ForgotPassword
[HttpPost] [HttpPost]
[AllowAnonymous]
[ValidateAntiForgeryToken] [ValidateAntiForgeryToken]
public async Task<IActionResult> ForgotPassword(ForgotPasswordViewModel model) public async Task<IActionResult> ForgotPassword(ForgotPasswordViewModel model)
{ {
@ -382,6 +398,7 @@ namespace Yavsc.Controllers
// //
// GET: /Account/ForgotPasswordConfirmation // GET: /Account/ForgotPasswordConfirmation
[HttpGet] [HttpGet]
[AllowAnonymous]
public IActionResult ForgotPasswordConfirmation() public IActionResult ForgotPasswordConfirmation()
{ {
return View(); return View();
@ -390,6 +407,7 @@ namespace Yavsc.Controllers
// //
// GET: /Account/ResetPassword // GET: /Account/ResetPassword
[HttpGet] [HttpGet]
[AllowAnonymous]
public IActionResult ResetPassword(string UserId, string code = null) public IActionResult ResetPassword(string UserId, string code = null)
{ {
return code == null ? View("Error") : View(); return code == null ? View("Error") : View();
@ -398,6 +416,7 @@ namespace Yavsc.Controllers
// //
// POST: /Account/ResetPassword // POST: /Account/ResetPassword
[HttpPost] [HttpPost]
[AllowAnonymous]
[ValidateAntiForgeryToken] [ValidateAntiForgeryToken]
public async Task<IActionResult> ResetPassword(ResetPasswordViewModel model) public async Task<IActionResult> ResetPassword(ResetPasswordViewModel model)
{ {
@ -423,6 +442,7 @@ namespace Yavsc.Controllers
// //
// GET: /Account/ResetPasswordConfirmation // GET: /Account/ResetPasswordConfirmation
[HttpGet] [HttpGet]
[AllowAnonymous]
public IActionResult ResetPasswordConfirmation() public IActionResult ResetPasswordConfirmation()
{ {
return View(); return View();
@ -489,6 +509,7 @@ namespace Yavsc.Controllers
// //
// GET: /Account/VerifyCode // GET: /Account/VerifyCode
[HttpGet] [HttpGet]
[AllowAnonymous]
public async Task<IActionResult> VerifyCode(string provider, bool rememberMe, string returnUrl = null) public async Task<IActionResult> VerifyCode(string provider, bool rememberMe, string returnUrl = null)
{ {
// Require that the user has already logged in via username/password or external login // Require that the user has already logged in via username/password or external login
@ -503,6 +524,7 @@ namespace Yavsc.Controllers
// //
// POST: /Account/VerifyCode // POST: /Account/VerifyCode
[HttpPost] [HttpPost]
[AllowAnonymous]
[ValidateAntiForgeryToken] [ValidateAntiForgeryToken]
public async Task<IActionResult> VerifyCode(VerifyCodeViewModel model) public async Task<IActionResult> VerifyCode(VerifyCodeViewModel model)
{ {

@ -81,6 +81,7 @@ namespace Yavsc.Controllers
{ {
var adminCount = await _userManager.GetUsersInRoleAsync( var adminCount = await _userManager.GetUsersInRoleAsync(
Constants.AdminGroupName); Constants.AdminGroupName);
var userCount = await context.Users.CountAsync();
var youAreAdmin = await _userManager.IsInRoleAsync( var youAreAdmin = await _userManager.IsInRoleAsync(
await _userManager.FindByIdAsync(User.GetUserId()), await _userManager.FindByIdAsync(User.GetUserId()),
Constants.AdminGroupName); Constants.AdminGroupName);
@ -98,7 +99,8 @@ namespace Yavsc.Controllers
{ {
Roles = roles.ToArray(), Roles = roles.ToArray(),
AdminCount = adminCount.Count, AdminCount = adminCount.Count,
YouAreAdmin = youAreAdmin YouAreAdmin = youAreAdmin,
UserCount = userCount
}); });
} }

@ -12,7 +12,7 @@ namespace Yavsc.Controllers
using Models.Workflow; using Models.Workflow;
using Yavsc.Exceptions; using Yavsc.Exceptions;
using Yavsc.ViewModels.Workflow; using Yavsc.ViewModels.Workflow;
using YavscLib; using Yavsc;
[Authorize] [Authorize]
public class DoController : Controller public class DoController : Controller

@ -5,7 +5,7 @@ using Microsoft.AspNet.Mvc;
using Microsoft.Data.Entity; using Microsoft.Data.Entity;
using Yavsc.Exceptions; using Yavsc.Exceptions;
using Yavsc.Models; using Yavsc.Models;
using YavscLib; using Yavsc;
namespace Yavsc.Controllers.Generic namespace Yavsc.Controllers.Generic
{ {

@ -14,7 +14,7 @@ using System.Threading.Tasks;
namespace Yavsc.Controllers namespace Yavsc.Controllers
{ {
using Models; using Models;
using YavscLib; using Yavsc;
[AllowAnonymous] [AllowAnonymous]
public class HomeController : Controller public class HomeController : Controller

@ -1,6 +1,6 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using YavscLib.Billing; using Yavsc.Billing;
namespace Yavsc.Helpers namespace Yavsc.Helpers
{ {

@ -41,7 +41,7 @@ namespace Yavsc.Helpers
} }
public static class TeXHelpers public static class TeXHelpers
{ {
public static readonly Replacement[] SpecialCharsRendering = public static readonly Replacement[] SpecialCharsDefaultRendering =
{ {
new Replacement("<","\\textless"), new Replacement("<","\\textless"),
new Replacement(">","\\textgreater"), new Replacement(">","\\textgreater"),
@ -70,7 +70,7 @@ namespace Yavsc.Helpers
public static TeXString ToTeX(this string source) public static TeXString ToTeX(this string source)
{ {
string result=source; string result=source;
foreach (var r in SpecialCharsRendering) foreach (var r in SpecialCharsDefaultRendering)
{ {
result = r.Execute(result); result = r.Execute(result);
} }

@ -1,4 +1,4 @@
using YavscLib; using Yavsc
namespace Yavsc.Interfaces namespace Yavsc.Interfaces
{ {

@ -1,5 +1,4 @@
using YavscLib; 
namespace Yavsc.Interfaces namespace Yavsc.Interfaces
{ {
public interface IGCMDeclaration public interface IGCMDeclaration

@ -1,4 +1,4 @@
using YavscLib.Billing; using Yavsc.Billing;
namespace Yavsc.Models.Billing { namespace Yavsc.Models.Billing {
public interface IBillingClause {  public interface IBillingClause { 

@ -2,7 +2,7 @@ using Microsoft.Data.Entity.Migrations;
namespace Yavsc.Migrations namespace Yavsc.Migrations
{ {
using YavscLib; using Yavsc;
public partial class bookQueryStatus : Migration public partial class bookQueryStatus : Migration
{ {
protected override void Up(MigrationBuilder migrationBuilder) protected override void Up(MigrationBuilder migrationBuilder)

@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations.Schema;
namespace Yavsc.Models.Access namespace Yavsc.Models.Access
{ {
using YavscLib; using Yavsc;
public class Ban : IBaseTrackedEntity public class Ban : IBaseTrackedEntity
{ {

@ -3,7 +3,7 @@ namespace Yavsc.Models.Access
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
using Models.Relationship; using Models.Relationship;
using Newtonsoft.Json; using Newtonsoft.Json;
using YavscLib; using Yavsc;
public class CircleAuthorizationToBlogPost : ICircleAuthorization public class CircleAuthorizationToBlogPost : ICircleAuthorization
{ {

@ -12,7 +12,7 @@ namespace Yavsc.Models
{ {
using Relationship; using Relationship;
using Forms; using Forms;
using YavscLib; using Yavsc;
using Auth; using Auth;
using Billing; using Billing;
using Musical; using Musical;

@ -3,7 +3,7 @@ using System.ComponentModel.DataAnnotations.Schema;
namespace Yavsc.Models namespace Yavsc.Models
{ {
using YavscLib; using Yavsc;
public partial class AccountBalance: IAccountBalance { public partial class AccountBalance: IAccountBalance {
[Key] [Key]

@ -5,7 +5,7 @@ using Newtonsoft.Json;
namespace Yavsc.Models.Billing namespace Yavsc.Models.Billing
{ {
using YavscLib.Billing; using Yavsc.Billing;
public class CommandLine : ICommandLine { public class CommandLine : ICommandLine {

@ -9,7 +9,7 @@ namespace Yavsc.Models.Billing
{ {
using Models.Workflow; using Models.Workflow;
using Newtonsoft.Json; using Newtonsoft.Json;
using YavscLib.Workflow; using Yavsc.Workflow;
public partial class Estimate : IEstimate public partial class Estimate : IEstimate
{ {

@ -1,4 +1,4 @@
using YavscLib.Billing; using Yavsc.Billing;
namespace Yavsc.Models.Billing   { namespace Yavsc.Models.Billing   {
public class FixedImpacter : IBillingImpacter public class FixedImpacter : IBillingImpacter

@ -8,9 +8,9 @@ namespace Yavsc.Models.Billing
using Newtonsoft.Json; using Newtonsoft.Json;
using Workflow; using Workflow;
using Yavsc.Models.Payment; using Yavsc.Models.Payment;
using YavscLib; using Yavsc;
using YavscLib.Billing; using Yavsc.Billing;
using YavscLib.Workflow; using Yavsc.Workflow;
public abstract class NominativeServiceCommand : IBaseTrackedEntity, IQuery, IIdentified<long> public abstract class NominativeServiceCommand : IBaseTrackedEntity, IQuery, IIdentified<long>
{ {

@ -1,4 +1,4 @@
using YavscLib.Billing; using Yavsc.Billing;
namespace Yavsc.Models.Billing   { namespace Yavsc.Models.Billing   {
public class ProportionalImpacter : IBillingImpacter public class ProportionalImpacter : IBillingImpacter

@ -1,7 +1,7 @@
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
using YavscLib.Billing; using Yavsc.Billing;
namespace Yavsc.Models.Billing { namespace Yavsc.Models.Billing {

@ -5,7 +5,7 @@ using System.ComponentModel.DataAnnotations.Schema;
using System.Linq; using System.Linq;
using Newtonsoft.Json; using Newtonsoft.Json;
using Yavsc.Models.Access; using Yavsc.Models.Access;
using YavscLib; using Yavsc;
namespace Yavsc.Models namespace Yavsc.Models
{ {

@ -4,7 +4,7 @@ using Newtonsoft.Json;
namespace Yavsc.Models.Chat namespace Yavsc.Models.Chat
{ {
using YavscLib; using Yavsc;
public class Connection : IConnection public class Connection : IConnection
{ {

@ -2,7 +2,7 @@ using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json; using Newtonsoft.Json;
using Yavsc.Models.Workflow; using Yavsc.Models.Workflow;
using YavscLib; using Yavsc;
namespace Yavsc.Models.Haircut namespace Yavsc.Models.Haircut
{ {

@ -5,7 +5,7 @@ using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
using Yavsc.Models.Billing; using Yavsc.Models.Billing;
using Yavsc.Models.Relationship; using Yavsc.Models.Relationship;
using YavscLib.Billing; using Yavsc.Billing;
namespace Yavsc.Models.Haircut namespace Yavsc.Models.Haircut
{ {

@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
using Yavsc.Models.Billing; using Yavsc.Models.Billing;
using Yavsc.Models.Relationship; using Yavsc.Models.Relationship;
using YavscLib.Billing; using Yavsc.Billing;
namespace Yavsc.Models.Haircut namespace Yavsc.Models.Haircut
{ {

@ -1,5 +1,5 @@
using System; using System;
namespace YavscLib.Haircut namespace Yavsc.Haircut
{ {
public interface IProviderInfo public interface IProviderInfo
{ {

@ -1,4 +1,4 @@
namespace YavscLib namespace Yavsc
{ {
public interface IHairPrestation public interface IHairPrestation
{ {

@ -2,7 +2,7 @@ using System;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using Yavsc.Models.Auth; using Yavsc.Models.Auth;
using Yavsc.Models.Relationship; using Yavsc.Models.Relationship;
using YavscLib; using Yavsc;
namespace Yavsc.Models.Haircut.Views namespace Yavsc.Models.Haircut.Views
{ {

@ -1,7 +1,7 @@
using System; using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using YavscLib; using Yavsc;
namespace Yavsc.Models.IT.Modeling namespace Yavsc.Models.IT.Modeling
{ {

@ -1,5 +1,5 @@
using YavscLib; using Yavsc;
namespace Yavsc.Models.IT.Modeling namespace Yavsc.Models.IT.Modeling
{ {

@ -5,7 +5,7 @@ using Newtonsoft.Json;
namespace Yavsc.Models.Identity namespace Yavsc.Models.Identity
{ {
using YavscLib; using Yavsc;
[JsonObject] [JsonObject]

@ -24,7 +24,7 @@ using System.ComponentModel.DataAnnotations;
namespace Yavsc.Models.Messaging namespace Yavsc.Models.Messaging
{ {
using Interfaces.Workflow; using Interfaces.Workflow;
using YavscLib; using Yavsc;
/// <summary> /// <summary>
/// Base event. /// Base event.

@ -1,6 +1,6 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using YavscLib; using Yavsc;
namespace Yavsc.Models.Musical.Profiles namespace Yavsc.Models.Musical.Profiles
{ {

@ -1,6 +1,6 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using YavscLib; using Yavsc;
namespace Yavsc.Models.Musical.Profiles namespace Yavsc.Models.Musical.Profiles
{ {

@ -1,6 +1,6 @@
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
using Yavsc.Models.Workflow; using Yavsc.Models.Workflow;
using YavscLib; using Yavsc;
namespace Yavsc.Models.Musical.Profiles namespace Yavsc.Models.Musical.Profiles
{ {

@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
namespace Yavsc.Models.Payment { namespace Yavsc.Models.Payment {
using YavscLib; using Yavsc;
using Relationship; using Relationship;
public class PayPalPayment : IBaseTrackedEntity public class PayPalPayment : IBaseTrackedEntity

@ -8,7 +8,7 @@ using Newtonsoft.Json;
namespace Yavsc.Models.Workflow namespace Yavsc.Models.Workflow
{ {
using Yavsc.Models.Market; using Yavsc.Models.Market;
using YavscLib; using Yavsc;
public class Activity : IBaseTrackedEntity, IActivity public class Activity : IBaseTrackedEntity, IActivity
{ {

@ -3,7 +3,7 @@ using System.ComponentModel.DataAnnotations.Schema;
namespace Yavsc.Models.Workflow namespace Yavsc.Models.Workflow
{ {
using YavscLib; using Yavsc;
public class CoWorking: ICoWorking public class CoWorking: ICoWorking
{ {

@ -4,7 +4,7 @@ using Newtonsoft.Json;
namespace Yavsc.Models.Workflow namespace Yavsc.Models.Workflow
{ {
using YavscLib; using Yavsc;
public class CommandForm : ICommandForm public class CommandForm : ICommandForm
{ {
[Key,DatabaseGenerated(DatabaseGeneratedOption.Identity)] [Key,DatabaseGenerated(DatabaseGeneratedOption.Identity)]

@ -6,7 +6,7 @@ namespace Yavsc.Models.Workflow
{ {
using System; using System;
using Models.Relationship; using Models.Relationship;
using YavscLib.Workflow; using Yavsc.Workflow;
public class PerformerProfile : IPerformerProfile { public class PerformerProfile : IPerformerProfile {

@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations;
namespace Yavsc.Models.Workflow.Profiles namespace Yavsc.Models.Workflow.Profiles
{ {
using Models.Workflow; using Models.Workflow;
using YavscLib; using Yavsc;
public class FormationSettings : ISpecializationSettings public class FormationSettings : ISpecializationSettings
{ {
public virtual List<CoWorking> CoWorking { get; set; } public virtual List<CoWorking> CoWorking { get; set; }

@ -7,7 +7,7 @@ namespace Yavsc.Models.Workflow
using System.Collections.Generic; using System.Collections.Generic;
using Yavsc.Models.Billing; using Yavsc.Models.Billing;
using Yavsc.Models.Relationship; using Yavsc.Models.Relationship;
using YavscLib.Billing; using Yavsc.Billing;
/// <summary> /// <summary>
/// Query, for a date, with a given perfomer, at this given place. /// Query, for a date, with a given perfomer, at this given place.

@ -6,7 +6,7 @@ using Microsoft.AspNet.Builder;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
using Yavsc.Exceptions; using Yavsc.Exceptions;
using Yavsc.Models; using Yavsc.Models;
using YavscLib; using Yavsc;
namespace Yavsc namespace Yavsc
{ {

@ -4,7 +4,7 @@ using Microsoft.AspNet.Mvc.Rendering;
using Yavsc.Models; using Yavsc.Models;
using Yavsc.ViewModels.Controls; using Yavsc.ViewModels.Controls;
using Yavsc.ViewModels.Relationship; using Yavsc.ViewModels.Relationship;
using YavscLib; using Yavsc;
namespace Yavsc.ViewComponents namespace Yavsc.ViewComponents
{ {

@ -111,7 +111,7 @@
"Microsoft.AspNet.Mvc.Formatters.Json": "6.0.0-rc1-final", "Microsoft.AspNet.Mvc.Formatters.Json": "6.0.0-rc1-final",
"Microsoft.AspNet.OWin": "1.0.0-rc1-final", "Microsoft.AspNet.OWin": "1.0.0-rc1-final",
"System.Json": "4.0.20126.16343", "System.Json": "4.0.20126.16343",
"YavscLib": { "Yavsc.Abstract": {
"type": "build", "type": "build",
"version": "1.0.0" "version": "1.0.0"
}, },

@ -2851,7 +2851,7 @@
"lib/WebGrease.dll": {} "lib/WebGrease.dll": {}
} }
}, },
"YavscLib/1.0.0": { "Yavsc.Abstract/1.0.0": {
"type": "project", "type": "project",
"framework": ".NETFramework,Version=v4.5.1", "framework": ".NETFramework,Version=v4.5.1",
"dependencies": { "dependencies": {
@ -5720,7 +5720,7 @@
"lib/WebGrease.dll": {} "lib/WebGrease.dll": {}
} }
}, },
"YavscLib/1.0.0": { "Yavsc.Abstract/1.0.0": {
"type": "project", "type": "project",
"framework": ".NETFramework,Version=v4.5.1", "framework": ".NETFramework,Version=v4.5.1",
"dependencies": { "dependencies": {
@ -8589,7 +8589,7 @@
"lib/WebGrease.dll": {} "lib/WebGrease.dll": {}
} }
}, },
"YavscLib/1.0.0": { "Yavsc.Abstract/1.0.0": {
"type": "project", "type": "project",
"framework": ".NETFramework,Version=v4.5.1", "framework": ".NETFramework,Version=v4.5.1",
"dependencies": { "dependencies": {
@ -8611,9 +8611,9 @@
} }
}, },
"libraries": { "libraries": {
"YavscLib/1.0.0": { "Yavsc.Abstract/1.0.0": {
"type": "project", "type": "project",
"path": "../YavscLib/project.json" "path": "../Yavsc.Abstract/project.json"
}, },
"Antlr/3.4.1.9004": { "Antlr/3.4.1.9004": {
"type": "package", "type": "package",
@ -11622,7 +11622,7 @@
"Microsoft.AspNet.Mvc.Formatters.Json >= 6.0.0-rc1-final", "Microsoft.AspNet.Mvc.Formatters.Json >= 6.0.0-rc1-final",
"Microsoft.AspNet.OWin >= 1.0.0-rc1-final", "Microsoft.AspNet.OWin >= 1.0.0-rc1-final",
"System.Json >= 4.0.20126.16343", "System.Json >= 4.0.20126.16343",
"YavscLib >= 1.0.0", "Yavsc.Abstract >= 1.0.0",
"Extensions.AspNet.Authentication.Instagram >= 1.0.0-t150809211713", "Extensions.AspNet.Authentication.Instagram >= 1.0.0-t150809211713",
"Microsoft.AspNet.Http.Extensions >= 1.0.0-rc1-final", "Microsoft.AspNet.Http.Extensions >= 1.0.0-rc1-final",
"Microsoft.DiaSymReader.Native >= 1.5.0", "Microsoft.DiaSymReader.Native >= 1.5.0",

@ -1,23 +0,0 @@
<Properties>
<MonoDevelop.Ide.Workbench ActiveDocument="IBlog.cs">
<Files>
<File FileName="IBlog.cs" Line="1" Column="1" />
</Files>
<Pads>
<Pad Id="ProjectPad">
<State name="__root__">
<Node name="Yavsc.Client" expanded="True">
<Node name="Yavsc.Client" expanded="True">
<Node name="References" expanded="True" />
</Node>
</Node>
</State>
</Pad>
</Pads>
</MonoDevelop.Ide.Workbench>
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
<MonoDevelop.Ide.DebuggingService.Breakpoints>
<BreakpointStore />
</MonoDevelop.Ide.DebuggingService.Breakpoints>
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
</Properties>

@ -9,7 +9,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ZicMoove.iOS", "ZicMoove\Zi
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ZicMoove", "ZicMoove\ZicMoove\ZicMoove.csproj", "{A0815650-0A0A-47B0-8826-771F0E1AD137}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ZicMoove", "ZicMoove\ZicMoove\ZicMoove.csproj", "{A0815650-0A0A-47B0-8826-771F0E1AD137}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "YavscLib", "YavscLib\YavscLib.csproj", "{67F9D3A8-F71E-4428-913F-C37AE82CDB24}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "YavscLib", "Yavsc.Abstract\YavscLib.csproj", "{67F9D3A8-F71E-4428-913F-C37AE82CDB24}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution

@ -40,7 +40,7 @@ namespace ZicMoove
using System.Net.Http; using System.Net.Http;
using System.Text; using System.Text;
using Pages.ClientPages; using Pages.ClientPages;
using YavscLib; using Yavsc;
using Model.Musical; using Model.Musical;
public partial class App : Application // superclass new in 1.3 public partial class App : Application // superclass new in 1.3

@ -1,5 +1,5 @@
using System; using System;
using YavscLib; using Yavsc;
namespace ZicMoove.Model.Auth namespace ZicMoove.Model.Auth
{ {

@ -4,7 +4,7 @@ using System;
namespace ZicMoove.Model.Auth.Account namespace ZicMoove.Model.Auth.Account
{ {
using Yavsc.Models; using Yavsc.Models;
using YavscLib; using Yavsc;
public class GoogleCloudMobileDeclaration public class GoogleCloudMobileDeclaration
{ {

@ -1,5 +1,5 @@
using System; using System;
using YavscLib; using Yavsc;
namespace ZicMoove.Model.Blog namespace ZicMoove.Model.Blog
{ {

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using YavscLib; using Yavsc;
namespace ZicMoove.Model.Social.Chat namespace ZicMoove.Model.Social.Chat
{ {

@ -4,7 +4,7 @@ using XLabs.Forms.Mvvm;
namespace ZicMoove.Model.Workflow namespace ZicMoove.Model.Workflow
{ {
using YavscLib; using Yavsc;
public class Activity : ViewModel, IActivity public class Activity : ViewModel, IActivity
{ {
public string Code public string Code

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using YavscLib; using Yavsc;
namespace ZicMoove.Model.Workflow namespace ZicMoove.Model.Workflow
{ {

@ -8,7 +8,7 @@ namespace ZicMoove.Model.Workflow
{ {
using Data; using Data;
using Musical; using Musical;
using YavscLib.Workflow; using Yavsc.Workflow;
public partial class Estimate : IEstimate public partial class Estimate : IEstimate
{ {

@ -2,7 +2,7 @@
namespace ZicMoove.Model.Workflow namespace ZicMoove.Model.Workflow
{ {
using YavscLib.Billing; using Yavsc.Billing;
public class BillingLine : ICommandLine public class BillingLine : ICommandLine
{ {
public long Id { get; set; } public long Id { get; set; }

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

Loading…