recupération de mot de passe + prise de commande
* ResetPassword.txt: Un message pour le mot de passe oublié
* style.css: fixe un 404
* UpdatePassword.aspx: Implémente le formulaire de mise à jour du mot
de passe,
accessible depuis l'e-mail.
* Contact.aspx: implémente la page de contact préstataire
* UpdatePassword.cs: modèle de la modification de mot de passe au
jeton de securité (qui est encore un fake en l'état)
* CommandRegistration.cs: un enregistrement de commande
* NominativeCommandRegistration.cs: un enregistrement de commande
nominative
* .gitignore: ignore ma config LuaDebug
* NpgsqlMembershipProvider.cs: ne pas crasher à la lecture en base de
la question de
recupération du mot de passe quand elle est nulle.
* BasketController.cs: renvoie l'objet décrivant la prise de commande
* Global.asax.cs: ignorer les routes vers App_Data et App_Code
* instdbws.sql: passage du type json à jsonb pour les paramètres de la
commande
* RegistrationMail.txt: un piti message à l'enregistrement
* AccountController.cs: Envoi du message du mot de passe oublié,
methode de changemnet du mot de passe.
* AdminController.cs: xmldoc + refabrication helper Notify
* HomeController.cs:
* BlogsController.cs:
* GoogleController.cs: refabrication helper Notify
* FrontOfficeController.cs: Refabrication: Utilisation du nouvel
enregistrement de commande.
+ refabrication helper Notify
* YavscHelpers.cs: implémente la methode d'envoi du message de mot de
passe oublié
+ refabrication helper Notify
* App.master: Corrige la notification Html
* AppAdmin.master: Le lien vers la page de contact était associé
à tort à la classe css "thanks"
* yavsc.js: message plus parlant en cas de requête Ajax mal formée.
* Login.aspx: Implémente le lien vers le formulaire de recupération du
mot de passe
* UserPost.aspx: .
* Booking.aspx: format du code
* Performer.ascx: l'e-mail préstataire ne sera jamais fourni par
l'application,
aussi, on parlera de "prendre contact", d'échanger ... mais pas de
donner l'adresse e-mail.
L'information "son email" n'est donc pas disponible meme à
l'utilisateur autorisé.
La prise de contact, ou autre fux de comunication le sont.
* Performers.aspx: affiche la notification à l'envoi de la demande de
devis
* Product.aspx:
* Service.aspx: les periodes du catalogue et du calendrier sont
fondue.
* Contact.aspx: traduction en français
* Web.config:
* la procédure de recupération du mot de passe est
activée
* l'e-message envoyé est construit à partir d'un modèle, un fichier
texte trouvé dans /App_Data, et indiqué à l'application
par le paramêtre applicatif "LostPasswordMessage"
* Yavsc.csproj: reference les nouveaux fichiers
* Product.cs: utilise la période du calendrier
* Commande.cs: renvoie un objet à la prise de commande, indiquant
l'identifiant de commande, et les messages envoyés
en cas de commande nominative.
* GoogleHelpers.cs: icone à la notification mobile
* LocalizedText.resx:
* LocalizedText.fr.resx:
* LocalizedText.Designer.cs:
* LocalizedText.fr.Designer.cs: traductions
* UserNameBase.cs: fixe la dé-sérialisation
* WorkFlowManager.cs: refabrication de la prise de commande
* YavscModel.csproj: nouveaux objets du modèle
* OtherWebException.aspx: page obsolete
* Period.cs: fondre la période: celle du catalogue disparait, au
profit de celle du calendrier.
main
parent
5a4179d051
commit
a14e63d26f
@ -0,0 +1,15 @@
|
||||
|
||||
Une demande de mise à jour de votre mot de passe <%SiteName%> a été faite en ligne.
|
||||
|
||||
Vous pouvez changer votre mot de passe en suivant le lien suivant :
|
||||
|
||||
<%UserActivatonUrl%>
|
||||
|
||||
Si vous n'êtes pas à l'origine de cette demande, qu'elle est indésirée,
|
||||
veuillez nous excuser pour la gêne occasionnée, et nous en avertir
|
||||
par retour de ce courrier.
|
||||
|
||||
Que le fun avec vous soit.
|
||||
--
|
||||
l'administration
|
||||
<%SiteName%>
|
||||
@ -0,0 +1,25 @@
|
||||
<%@ Page Title="Reset your Password" Language="C#" Inherits="System.Web.Mvc.ViewPage<LostPasswordModel>" MasterPageFile="~/Models/App.master" %>
|
||||
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
|
||||
<%= Html.ValidationSummary("Modification de mot de passe") %>
|
||||
|
||||
<% using(Html.BeginForm("UpdatePassword", "Account")) { %>
|
||||
<%= Html.ValidationSummary() %>
|
||||
Modifiez votre mot de passe (<%= Html.Encode(ViewData["UserName"]) %>):
|
||||
<ul><li>
|
||||
<label for="Password">Saisissez ci après votre nouveau mot de passe:</label>
|
||||
<%= Html.Password( "Password" ) %>
|
||||
<%= Html.ValidationMessage("Password", "*") %></li>
|
||||
<li>
|
||||
<label for="ConfirmPassword">Confirmez votre nouveau mot de passe:</label>
|
||||
<%= Html.Password( "ConfirmPassword" ) %>
|
||||
<%= Html.ValidationMessage("ConfirmPassword", "*") %>
|
||||
</li>
|
||||
</ul>
|
||||
Puis, actionnez ce bouton:
|
||||
<input type="submit" value="Modifiez mon mot de passe!"/>
|
||||
<%= Html.Hidden("UserKey") %>
|
||||
<%= Html.Hidden("UserName") %>
|
||||
<% } %>
|
||||
</asp:Content>
|
||||
|
||||
|
||||
@ -0,0 +1,30 @@
|
||||
<%@ Page Title="Contact" Language="C#" MasterPageFile="~/Models/App.master" Inherits="System.Web.Mvc.ViewPage" %>
|
||||
|
||||
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
|
||||
<div class="bigpanel">
|
||||
<p>
|
||||
<%= Html.Translate("ContactThisPerformer") %>
|
||||
</p>
|
||||
<% using (Html.BeginForm("Contact", "Home")) { %>
|
||||
<fieldset style="width:100%">
|
||||
<legend>Message</legend>
|
||||
<p>
|
||||
<%= Html.Label("email",LocalizedText.email) %>:
|
||||
<%= Html.ValidationMessage("email") %><br/>
|
||||
<%= Html.TextBox("email") %>
|
||||
</p>
|
||||
<p>
|
||||
<%= Html.Label("reason",LocalizedText.reason) %>:
|
||||
<%= Html.ValidationMessage("reason") %><br/>
|
||||
<%= Html.TextBox("reason") %>
|
||||
</p>
|
||||
<p>
|
||||
<%= Html.Label("body",LocalizedText.body) %>:
|
||||
<%= Html.ValidationMessage("body") %><br/>
|
||||
<%= Html.TextArea("body",new {@rows="25"}) %>
|
||||
</p>
|
||||
</fieldset>
|
||||
<input type="submit" value="<%=Html.Translate("Submit")%>">
|
||||
<% } %>
|
||||
</div>
|
||||
</asp:Content>
|
||||
@ -1,9 +0,0 @@
|
||||
<%@ Page Title="Google error message" Language="C#" Inherits="System.Web.Mvc.ViewPage<OtherWebException>" MasterPageFile="~/Models/App.master" %>
|
||||
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
|
||||
<h2><%= Html.Encode(Model.Title)%></h2>
|
||||
<pre>
|
||||
<code>
|
||||
<%= Html.Encode(Model.Content) %>
|
||||
</code></pre>
|
||||
</asp:Content>
|
||||
|
||||
@ -1,29 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace Yavsc.Model.FrontOffice.Catalog
|
||||
{
|
||||
/// <summary>
|
||||
/// Period.
|
||||
/// </summary>
|
||||
public class Period
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="Yavsc.Model.FrontOffice.Period"/> class.
|
||||
/// </summary>
|
||||
public Period ()
|
||||
{
|
||||
}
|
||||
/// <summary>
|
||||
/// Gets or sets the start date.
|
||||
/// </summary>
|
||||
/// <value>The start date.</value>
|
||||
public DateTime StartDate { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the end date.
|
||||
/// </summary>
|
||||
/// <value>The end date.</value>
|
||||
public DateTime EndDate { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -0,0 +1,46 @@
|
||||
//
|
||||
// CommandRegistration.cs
|
||||
//
|
||||
// Author:
|
||||
// Paul Schneider <paul@pschneider.fr>
|
||||
//
|
||||
// Copyright (c) 2015 GNU GPL
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Lesser General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU Lesser General Public License for more details.
|
||||
//
|
||||
// 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/>.
|
||||
|
||||
using System;
|
||||
using Yavsc.Model.WorkFlow;
|
||||
using System.Configuration;
|
||||
using System.Collections.Specialized;
|
||||
using Yavsc.Model.FrontOffice;
|
||||
using System.Configuration.Provider;
|
||||
using Yavsc.Model.FrontOffice.Catalog;
|
||||
using System.Collections.Generic;
|
||||
using Yavsc.Model.Skill;
|
||||
using System.Linq;
|
||||
using Yavsc.Model.Calendar;
|
||||
using Yavsc.Model.Google.Api;
|
||||
using System.Net.Mail;
|
||||
using System.Web.Security;
|
||||
using System.Web.Configuration;
|
||||
using System.Net;
|
||||
using System.IO;
|
||||
|
||||
namespace Yavsc.Model.WorkFlow
|
||||
{
|
||||
public class CommandRegistration {
|
||||
public long CommandId {get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,48 @@
|
||||
//
|
||||
// NominativeCommandRegistration.cs
|
||||
//
|
||||
// Author:
|
||||
// Paul Schneider <paul@pschneider.fr>
|
||||
//
|
||||
// Copyright (c) 2015 GNU GPL
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Lesser General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU Lesser General Public License for more details.
|
||||
//
|
||||
// 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/>.
|
||||
|
||||
using System;
|
||||
using Yavsc.Model.WorkFlow;
|
||||
using System.Configuration;
|
||||
using System.Collections.Specialized;
|
||||
using Yavsc.Model.FrontOffice;
|
||||
using System.Configuration.Provider;
|
||||
using Yavsc.Model.FrontOffice.Catalog;
|
||||
using System.Collections.Generic;
|
||||
using Yavsc.Model.Skill;
|
||||
using System.Linq;
|
||||
using Yavsc.Model.Calendar;
|
||||
using Yavsc.Model.Google.Api;
|
||||
using System.Net.Mail;
|
||||
using System.Web.Security;
|
||||
using System.Web.Configuration;
|
||||
using System.Net;
|
||||
using System.IO;
|
||||
|
||||
namespace Yavsc.Model.WorkFlow
|
||||
{
|
||||
|
||||
public class NominativeCommandRegistration : CommandRegistration {
|
||||
public bool NotifiedOnMobile { get; set; }
|
||||
public bool EmailSent { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue