Merge: Admin interface for Benitlux and fixes
authorJean Privat <jean@pryen.org>
Tue, 17 May 2016 01:22:55 +0000 (21:22 -0400)
committerJean Privat <jean@pryen.org>
Tue, 17 May 2016 01:22:55 +0000 (21:22 -0400)
commitf42e3f22d31eb8a8fd58c33991d0db68f83fa043
tree52ead9e55fb25c8ebb9e2b3bf93148304c89a905
parent17c1c37d23195b7663943993887560df58541897
parentdb24611e3b388b65cefff4de7635c16fbd04ef3b
Merge: Admin interface for Benitlux and fixes

This PR adds a RESTful admin interface to the Benitlux server. This interface is used to trigger sending out the daily menu notifications from an external program / cron.

As a fix to the diff showing everything as new on the menu, the server now standardizes the received dates to the format expected by SQLite. There is also a small fix to the library used by the code generated by nitrestful to correctly check for errors.

Pull-Request: #2090
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
contrib/benitlux/src/benitlux_controller.nit