* Makefile: creates two targets "xmldoc" and
"htmldoc" to generate the documentation * Web.csproj: * YavscModel.csproj: * WebControls.csproj: * YavscClient.csproj: * SalesCatalog.csproj: * NpgsqlWorkflow.csproj: * NpgsqlMRPProviders.csproj: * NpgsqlBlogProvider.csproj: ITContentProvider/ITContentProvider.csproj * AssemblyInfo.cs: makes "en" the assembly culture, and normalize my name * HomeController.cs: modifies the xmldoc * Web.config: Modifies the owner email * ITContentProvider.csproj: Activates the documentation generation * App.master: adds a <meta charset=> in the head section
This commit is contained in:
parent
ae38718dd9
commit
1b7b3595e2
14 changed files with 28 additions and 10 deletions
|
|
@ -20,6 +20,7 @@
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<ConsolePause>false</ConsolePause>
|
<ConsolePause>false</ConsolePause>
|
||||||
|
<DocumentationFile>bin\Debug\ITContentProvider.xml</DocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
|
|
|
||||||
9
Makefile
9
Makefile
|
|
@ -19,6 +19,7 @@ deploy: ddir build
|
||||||
rm -rf $(DESTDIR)/obj
|
rm -rf $(DESTDIR)/obj
|
||||||
mv $(DESTDIR)/Web.config $(DESTDIR)/Web.config.new
|
mv $(DESTDIR)/Web.config $(DESTDIR)/Web.config.new
|
||||||
|
|
||||||
|
|
||||||
rsync: rsync-preprod
|
rsync: rsync-preprod
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
|
@ -48,9 +49,13 @@ sourcepkg:
|
||||||
debug: build
|
debug: build
|
||||||
(cd web; export MONO_OPTIONS=--debug; xsp4 --port 8080)
|
(cd web; export MONO_OPTIONS=--debug; xsp4 --port 8080)
|
||||||
|
|
||||||
xmldoc: build
|
xmldoc: $(patsubst %,web/bin/%,$(DOCASSBS))
|
||||||
(cd web/bin; monodocer -pretty -o ../xmldoc $(DOCASSBS))
|
mdoc-update $^ $(patsubst %.dll,-i%.xml,$^) --out web/xmldoc
|
||||||
|
|
||||||
htmldoc: xmldoc
|
htmldoc: xmldoc
|
||||||
(cd web; monodocs2html -o htmldoc xmldoc)
|
(cd web; monodocs2html -o htmldoc xmldoc)
|
||||||
|
|
||||||
|
docdeploy-prod: htmldoc
|
||||||
|
rsync -ravu web/htmldoc root@$(PRODHOSTDIR)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<ConsolePause>false</ConsolePause>
|
<ConsolePause>false</ConsolePause>
|
||||||
|
<DocumentationFile>bin\Debug\NpgsqlBlogProvider.xml</DocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>none</DebugType>
|
<DebugType>none</DebugType>
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<ConsolePause>false</ConsolePause>
|
<ConsolePause>false</ConsolePause>
|
||||||
|
<DocumentationFile>bin\Debug\NpgsqlMRPProviders.xml</DocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>none</DebugType>
|
<DebugType>none</DebugType>
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<ConsolePause>false</ConsolePause>
|
<ConsolePause>false</ConsolePause>
|
||||||
|
<DocumentationFile>bin\Debug\SalesCatalog.xml</DocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>none</DebugType>
|
<DebugType>none</DebugType>
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<ConsolePause>false</ConsolePause>
|
<ConsolePause>false</ConsolePause>
|
||||||
|
<DocumentationFile>bin\Debug\Yavsc.WebControls.xml</DocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<ConsolePause>false</ConsolePause>
|
<ConsolePause>false</ConsolePause>
|
||||||
|
<DocumentationFile>bin\Debug\WorkFlowProvider.xml</DocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
|
|
|
||||||
|
|
@ -10,9 +10,9 @@ using System.Resources;
|
||||||
[assembly: AssemblyConfiguration("")]
|
[assembly: AssemblyConfiguration("")]
|
||||||
[assembly: AssemblyCompany("")]
|
[assembly: AssemblyCompany("")]
|
||||||
[assembly: AssemblyProduct("")]
|
[assembly: AssemblyProduct("")]
|
||||||
[assembly: AssemblyCopyright("paul schneider")]
|
[assembly: AssemblyCopyright("Paul Schneider")]
|
||||||
[assembly: AssemblyTrademark("")]
|
[assembly: AssemblyTrademark("")]
|
||||||
[assembly: AssemblyCulture("")]
|
[assembly: AssemblyCulture("en")]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ namespace Yavsc.Controllers
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Assemblies the info.
|
/// Lists the referenced assemblies.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>The info.</returns>
|
/// <returns>The info.</returns>
|
||||||
public ActionResult AssemblyInfo()
|
public ActionResult AssemblyInfo()
|
||||||
|
|
@ -113,7 +113,8 @@ namespace Yavsc.Controllers
|
||||||
{
|
{
|
||||||
sc.Send (msg);
|
sc.Send (msg);
|
||||||
ViewData ["Message"] = LocalizedText.Message_sent;
|
ViewData ["Message"] = LocalizedText.Message_sent;
|
||||||
return View (new { reason="", body="" });
|
|
||||||
|
return View (new { email=email, reason="", body="" });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,10 @@
|
||||||
<% ViewState["orgtitle"] = T.GetString(Page.Title); %>
|
<% ViewState["orgtitle"] = T.GetString(Page.Title); %>
|
||||||
<% Page.Title = ViewState["orgtitle"] + " - " + YavscHelpers.SiteName; %>
|
<% Page.Title = ViewState["orgtitle"] + " - " + YavscHelpers.SiteName; %>
|
||||||
<head runat="server">
|
<head runat="server">
|
||||||
<meta name="viewport" content="width=device-width" />
|
|
||||||
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="stylesheet" href="/Theme/style.css"/>
|
<link rel="stylesheet" href="/Theme/style.css"/>
|
||||||
<link rel="icon" type="image/png" href="/favicon.png" />
|
<link rel="icon" type="image/png" href="/favicon.png" />
|
||||||
<asp:ContentPlaceHolder id="head" runat="server">
|
<asp:ContentPlaceHolder id="head" runat="server">
|
||||||
|
|
@ -67,6 +69,7 @@
|
||||||
</div>
|
</div>
|
||||||
</aside>
|
</aside>
|
||||||
<footer>
|
<footer>
|
||||||
|
<%= Html.ActionLink("Contact","Contact","Home",null, new { @class="footerlink" }) %> <br/>
|
||||||
<% foreach ( string link in Yavsc.ThanksHelper.Links()) { %>
|
<% foreach ( string link in Yavsc.ThanksHelper.Links()) { %>
|
||||||
<%= link %>
|
<%= link %>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
|
||||||
|
|
@ -303,7 +303,7 @@ http://msdn2.microsoft.com/en-us/library/b5ysx397.aspx
|
||||||
<add key="WorkflowContentProviderClass" value="yavsc.NpgsqlContentProvider" />
|
<add key="WorkflowContentProviderClass" value="yavsc.NpgsqlContentProvider" />
|
||||||
<add key="SmtpServer" value="smtp.free.fr" />
|
<add key="SmtpServer" value="smtp.free.fr" />
|
||||||
<add key="AdminEMail" value="paulschneider@free.fr" />
|
<add key="AdminEMail" value="paulschneider@free.fr" />
|
||||||
<add key="OwnerEMail" value="paul@127.0.0.1" />
|
<add key="OwnerEMail" value="paulschneider@free.fr" />
|
||||||
<add key="Name" value="Psc" />
|
<add key="Name" value="Psc" />
|
||||||
<!-- do not point "/Home/index" with the value for the "StartPage",
|
<!-- do not point "/Home/index" with the value for the "StartPage",
|
||||||
it would result in a redirection infinite loop -->
|
it would result in a redirection infinite loop -->
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,7 @@
|
||||||
<Command type="BeforeExecute" />
|
<Command type="BeforeExecute" />
|
||||||
</CustomCommands>
|
</CustomCommands>
|
||||||
</CustomCommands>
|
</CustomCommands>
|
||||||
|
<DocumentationFile>bin\Yavsc.xml</DocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>none</DebugType>
|
<DebugType>none</DebugType>
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<ConsolePause>false</ConsolePause>
|
<ConsolePause>false</ConsolePause>
|
||||||
|
<DocumentationFile>bin\Debug\YavscModel.xml</DocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<ConsolePause>false</ConsolePause>
|
<ConsolePause>false</ConsolePause>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
|
<DocumentationFile>bin\Debug\yavscclient.xml</DocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue