Commit Graph

14 Commits

Author SHA1 Message Date
alexandercerutti
ff33cc9d2e Added shouldOverwrite to Pass class options to overwrite or append to the existing ones, the properties in main buffer 2018-08-20 18:12:06 +02:00
alexandercerutti
8634d540b8 Added relevace() method to set beacons and locations; Added schemas for beaconsDict and locationsDict 2018-08-20 16:41:27 +02:00
alexandercerutti
8cda71309d Added new translations to 'it' in server.js 2018-08-19 16:01:40 +02:00
alexandercerutti
40268709b6 Added features tests to server.js, primary and secondary fields, expiration() and void() method 2018-08-19 16:01:04 +02:00
alexandercerutti
2d626fd2df Added localization in the server 2018-08-13 11:46:01 +02:00
alexandercerutti
31bb8ac3a0 Edited server to return JSON structure as Error 2018-08-12 16:16:51 +02:00
alexandercerutti
bab73d7b62 Fixed edit parameters passing 2018-08-07 16:16:07 +02:00
alexandercerutti
b1daa2d216 Converted certificates files names into paths; Removed dir property from the schema 2018-07-23 17:22:08 +02:00
alexandercerutti
ad55d3aeba Model is now represented as string containing path, not anymore an Object 2018-07-23 16:59:03 +02:00
alexandercerutti
7c864f1d2a Changed name for input model as parameter;
Added Joi to validate input parameters schema;
Removed old draft of Pass class;
Removed completely the old way to load the configuration
2018-07-17 23:49:13 +02:00
Alexander Cerutti
e4d56bf7a1 Created Pass class and moved generatePass to generate method in Pass() 2018-06-16 16:47:16 +02:00
Alexander Cerutti
3d0a25314a Moved completely webserver activities from index.js to server.js
Replaced `RequestHandler` with `generatePass`.
Now `generatePass` function returns JSON objects containing the pass stream or, otherwise, the error structure.
2018-06-10 15:44:30 +02:00
Alexander Cerutti
74700fedd0 Changed including method of index.js 2018-06-06 23:34:32 +02:00
Alexander Cerutti
2efe0f55f1 Splitted Webserver from operative module 2018-05-12 14:35:37 +02:00