Fixes the anonymous profile usage

* NpgsqlMembershipProvider.cs: insert a profile record before
  inserting the users record,
to ensure a new foreign key constraint

* NpgsqlProfileProvider.cs: better comments

* YavscController.cs: Fixes the cookies agreement

* HomeController.cs: Finalizes the cookie agreement system.

* YavscHelpers.cs: Adds a "click_action_name" field, to give a text to
  the notification dimissing button.

* App.master: Uses the new field from Notification

* Web.config: No VB code to compile

* Web.csproj: moves Sql files to Sql folder

* LocalizedText.resx:
* LocalizedText.fr.resx:
* LocalizedText.Designer.cs:
* LocalizedText.fr.Designer.cs: I understood ...

* Notification.cs: a new click action name.

* instdbws.sql: permits profile records with no users record
  associated to,
and so, anonymous profiles creation.
This commit is contained in:
Paul Schneider 2015-11-03 12:05:17 +01:00
commit cbb596ca04
17 changed files with 104 additions and 46 deletions

View file

@ -1,3 +1,12 @@
2015-11-03 Paul Schneider <paul@pschneider.fr>
* LocalizedText.resx:
* LocalizedText.fr.resx:
* LocalizedText.Designer.cs:
* LocalizedText.fr.Designer.cs: I understood ...
* Notification.cs: a new click action name.
2015-11-01 Paul Schneider <paul@pschneider.fr>
* YavscModel.csproj:

View file

@ -304,6 +304,12 @@ namespace Yavsc.Model {
}
}
public static string I_understood {
get {
return ResourceManager.GetString("I_understood", resourceCulture);
}
}
public static string Bill_removal {
get {
return ResourceManager.GetString("Bill_removal", resourceCulture);

View file

@ -298,6 +298,12 @@ namespace Yavsc.Model {
}
}
public static string I_understood {
get {
return ResourceManager.GetString("I_understood", resourceCulture);
}
}
public static string Bill_removal {
get {
return ResourceManager.GetString("Bill_removal", resourceCulture);

View file

@ -42,6 +42,7 @@
<data name="Hide_source"><value>Cacher le texte source du billet</value></data>
<data name="Home"><value>Accueil</value></data>
<data name="Hide"><value>Cacher</value></data>
<data name="I_understood"><value>J'ai compris</value></data>
<data name="ImgLocator"><value>URI de l'image</value></data>
<data name="ImportException"><value>Exception à l'import</value></data>
<data name="InternalServerError"><value>Erreur serveur interne</value></data>

View file

@ -43,6 +43,7 @@
<data name="entries"><value>entries</value></data>
<data name="Google_calendar"><value>Google calendar</value></data>
<data name="Google_error"><value>Google error : {0}</value></data>
<data name="I_understood"><value>I understood</value></data>
<data name="InternalServerError"><value>Internal Server Error</value></data>
<data name="ImgLocator"><value>Image URI</value></data>
<data name="ImportException"><value>Exception at importing</value></data>

View file

@ -27,6 +27,8 @@ namespace Yavsc.Model.Messaging
public Notification ()
{
}
public string click_action_name ;
}
}