* Makefile: cleans the StyleCop cache

* CalendarController.cs: removes useless spaces

* FrontOfficeApiController.cs: Makes the tex to pdf exceptions
  available to the user interface, as part of the application process.
Cleans the using clauses.

* TexToPdfFormatter.cs: sets the filename as response header.

* Web.csproj: a new FormatterException, thrown when exit code of
  texi2pdf is not null
This commit is contained in:
Paul Schneider 2015-06-07 01:04:09 +02:00
commit 8c4a6b9f19
7 changed files with 49 additions and 40 deletions

View file

@ -108,7 +108,6 @@ namespace Yavsc.ApiControllers
LogoImgLocator = "http://yavsc.pschneider.fr/favicon.png",
Location = new Position () { Longitude = 0, Latitude = 0 },
LocationType = "Salle des fêtes"
};
}
@ -133,12 +132,6 @@ namespace Yavsc.ApiControllers
}
/// <summary>
/// Registers with push notifications enabled.
/// </summary>
@ -200,7 +193,6 @@ namespace Yavsc.ApiControllers
using (r) {
var msg = new MessageWithPayload<YaEvent> () { data = new YaEvent[] { (YaEvent)evpub } };
msg.to = string.Join (" ", Circle.Union (evpub.Circles));
return r.Invoke (msg);
}
}