presentation & tools
This commit is contained in:
parent
313ba449e7
commit
4c496e08d1
76 changed files with 3973 additions and 254 deletions
|
|
@ -5,7 +5,8 @@ include $(MAKEFILE_DIR)/dnx.mk
|
|||
|
||||
default: all
|
||||
|
||||
$(BINTARGETPATH): ../OAuth.AspNet.AuthServer/bin/$(CONFIGURATION)/OAuth.AspNet.AuthServer.dll ../Yavsc.Abstract/bin/$(CONFIGURATION)/Yavsc.Abstract.dll prepare_code
|
||||
$(BINTARGETPATH): ../OAuth.AspNet.AuthServer/bin/$(CONFIGURATION)/OAuth.AspNet.AuthServer.dll \
|
||||
../Yavsc.Abstract/bin/$(CONFIGURATION)/Yavsc.Abstract.dll prepare_code
|
||||
|
||||
../OAuth.AspNet.AuthServer/bin/$(CONFIGURATION)/OAuth.AspNet.AuthServer.dll:
|
||||
make -C ../OAuth.AspNet.AuthServer
|
||||
|
|
@ -13,9 +14,11 @@ $(BINTARGETPATH): ../OAuth.AspNet.AuthServer/bin/$(CONFIGURATION)/OAuth.AspNet.A
|
|||
../Yavsc.Abstract/bin/$(CONFIGURATION)/Yavsc.Abstract.dll:
|
||||
make -C ../Yavsc.Abstract
|
||||
|
||||
%.Designer.cs: Resources/%.resx
|
||||
%.Designer.cs: %.resx
|
||||
strotygen -l -p -t -r "Yavsc.Server.Resources." $^
|
||||
|
||||
prepare_code: Resources/Yavsc.Models.IT.Fixing.Bug.Designer.cs Yavsc.Models.Relationship.HyperLink.Designer.cs
|
||||
prepare_code: Resources/Yavsc.Models.IT.Fixing.Bug.Designer.cs \
|
||||
Resources/Yavsc.Models.Relationship.HyperLink.Designer.cs \
|
||||
Resources/Yavsc.Models.Streaming.LiveFlow.Designer.cs
|
||||
|
||||
all: $(BINTARGETPATH)
|
||||
|
|
|
|||
|
|
@ -12,8 +12,9 @@ namespace Yavsc.Models
|
|||
using Models.Bank;
|
||||
using Models.Access;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
public class ApplicationUser : IdentityUser
|
||||
using System;
|
||||
|
||||
public class ApplicationUser : IdentityUser, IBaseTrackedEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// Another me, as a byte array.
|
||||
|
|
@ -108,5 +109,24 @@ namespace Yavsc.Models
|
|||
[JsonIgnore][InverseProperty("User")]
|
||||
public virtual List<ChatRoomAccess> RoomAccess { get; set; }
|
||||
|
||||
public DateTime DateCreated
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
public string UserCreated
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
public DateTime DateModified
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
public string UserModified
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,10 +5,10 @@ using Yavsc.Abstract.Streaming;
|
|||
namespace Yavsc.Models.Streaming
|
||||
{
|
||||
|
||||
public class LiveFlow : ILiveFlow {
|
||||
public partial class LiveFlow : ILiveFlow {
|
||||
|
||||
[Key(), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
[Display(Name="FlowId")]
|
||||
[Display(Name="FlowIdLabel")]
|
||||
// set by the server, unique
|
||||
public long Id { get; set; }
|
||||
|
||||
|
|
@ -18,25 +18,31 @@ namespace Yavsc.Models.Streaming
|
|||
/// </summary>
|
||||
/// <value></value>
|
||||
[StringLength(255)]
|
||||
[Display(Name="TitleLabel")]
|
||||
public string Title { get; set; }
|
||||
|
||||
// a little description
|
||||
[StringLength(1023)]
|
||||
[Display(Name="PitchLabel")]
|
||||
public string Pitch { get; set; }
|
||||
|
||||
// The stream type
|
||||
[StringLength(127)]
|
||||
[Display(Name="MediaTypeLabel")]
|
||||
public string MediaType { get; set; }
|
||||
|
||||
// A name where to save this stream, relative to user's files root
|
||||
[StringLength(255)]
|
||||
[Display(Name="DifferedFileNameLabel")]
|
||||
public string DifferedFileName { get; set; }
|
||||
public int SequenceNumber { get; set; }
|
||||
|
||||
[Required]
|
||||
[Display(Name="OwnerIdLabel")]
|
||||
public string OwnerId {get; set; }
|
||||
|
||||
[ForeignKey("OwnerId")]
|
||||
[Display(Name="OwnerLabel")]
|
||||
public virtual ApplicationUser Owner { get; set; }
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,11 +10,11 @@ namespace Yavsc.Models.Relationship
|
|||
Prompt="http://some.web.site")]
|
||||
public string HRef { get; set; }
|
||||
|
||||
[YaStringLength(5,1024)]
|
||||
[YaStringLength(0,12)]
|
||||
[Display(Name="MethodDisplayName", ResourceType=typeof(HyperLink), Prompt="GET")]
|
||||
public string Method { get; set; }
|
||||
|
||||
[YaStringLength(5,25)]
|
||||
[YaStringLength(0,25)]
|
||||
[Display(Name="RelDisplayName", ResourceType=typeof(HyperLink),
|
||||
Prompt="href")]
|
||||
public string Rel { get; set; }
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// This code was generated by a tool.
|
||||
// Mono Runtime Version: 4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Yavsc.Models.Relationship {
|
||||
using System;
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@
|
|||
</resheader>
|
||||
<data name="MethodDisplayName" ><value>Methode Http attendue coté serveur</value></data>
|
||||
<data name="ContentTypeDisplayName"><value>Type mime du contenu attendu côté client</value></data>
|
||||
<data name="RelDisplayName"><value>Classe de lien</value></data>
|
||||
<data name="RelDisplayName" comment="'href' ou 'css' ou 'extplug' ... igonoré"><value>Type de lien</value></data>
|
||||
<data name="HRefDisplayName"><value>Valeur du lien</value></data>
|
||||
|
||||
</root>
|
||||
94
src/Yavsc.Server/Resources/Yavsc.Models.Streaming.LiveFlow.Designer.cs
generated
Normal file
94
src/Yavsc.Server/Resources/Yavsc.Models.Streaming.LiveFlow.Designer.cs
generated
Normal file
|
|
@ -0,0 +1,94 @@
|
|||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// This code was generated by a tool.
|
||||
// Mono Runtime Version: 4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Yavsc.Models.Streaming {
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public partial class LiveFlow {
|
||||
|
||||
private static System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.Equals(null, resourceMan)) {
|
||||
System.Resources.ResourceManager temp = new System.Resources.ResourceManager(("Yavsc.Server.Resources." + "Yavsc.Models.Streaming.LiveFlow"), typeof(LiveFlow).GetTypeInfo().Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
public static string DifferedFileNameLabel {
|
||||
get {
|
||||
return ResourceManager.GetString("DifferedFileNameLabel", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string MediaTypeLabel {
|
||||
get {
|
||||
return ResourceManager.GetString("MediaTypeLabel", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string PitchLabel {
|
||||
get {
|
||||
return ResourceManager.GetString("PitchLabel", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string SequenceNumberLabel {
|
||||
get {
|
||||
return ResourceManager.GetString("SequenceNumberLabel", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string TitleLabel {
|
||||
get {
|
||||
return ResourceManager.GetString("TitleLabel", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string FlowIdLabel {
|
||||
get {
|
||||
return ResourceManager.GetString("FlowIdLabel", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string OwnerIdLabel {
|
||||
get {
|
||||
return ResourceManager.GetString("OwnerIdLabel", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string OwnerLabel {
|
||||
get {
|
||||
return ResourceManager.GetString("OwnerLabel", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,73 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<!--
|
||||
route name for the api controller used to tag the 'BlogPost' entity
|
||||
-->
|
||||
<data name="DifferedFileNameLabel"><value>Nom de fichier pour le différé</value></data>
|
||||
<data name="MediaTypeLabel"><value>Type de média</value></data>
|
||||
<data name="PitchLabel"><value>Le pitch</value></data>
|
||||
<data name="SequenceNumberLabel"><value>Numéro de séauence</value></data>
|
||||
<data name="TitleLabel"><value>Titre</value></data>
|
||||
<data name="FlowIdLabel"><value>Identifiant du flux</value></data>
|
||||
<data name="OwnerIdLabel"><value>Identifiant du propriétaire</value></data>
|
||||
<data name="OwnerLabel"><value>Propriétaire</value></data>
|
||||
|
||||
</root>
|
||||
Loading…
Add table
Add a link
Reference in a new issue