Commit Graph

  • c6c605a3f6 Added some path.resolve, fixed misconfiguration, improved support for pass naming Alexander Cerutti 2018-06-08 01:29:43 +02:00
  • 474a79317d Added support for custom name on pass download (if it get download from a device without PassKit support) Alexander Cerutti 2018-06-08 01:22:03 +02:00
  • 1744155c75 Removed function fileStreamToBuffer for fs.readFile Alexander Cerutti 2018-06-08 01:01:48 +02:00
  • afddb1fdba Removed config.json from files, added validation for config output and models dir paths as promise in init() function Alexander Cerutti 2018-06-07 19:20:24 +02:00
  • 45f658fedb Removed checkSignatureRequirements function Alexander Cerutti 2018-06-07 01:19:43 +02:00
  • ef52c60c78 Removed creation of output directory in the main path Alexander Cerutti 2018-06-07 01:04:44 +02:00
  • a45366bb84 Removed generateManifest, getUUID and old generateManifestSignature functions Removed passModelsDir and outputDir constants and putted them asconfiguration object keys Removed configuration loading from loadConfiguration and moved into init() Removed generateManifest function Created first implementation of pass saving option inside configuration output directory Alexander Cerutti 2018-06-07 00:58:19 +02:00
  • 662ae69e60 Removed nodejs crypto inclusion for node-forge Added loadConfiguration function Moved completely from Openssl for signature generation and crypto for sha1 generation to node-forge Moved configuration to another file Added init function Alexander Cerutti 2018-06-06 23:34:57 +02:00
  • 74700fedd0 Changed including method of index.js Alexander Cerutti 2018-06-06 23:34:32 +02:00
  • 2efe0f55f1 Splitted Webserver from operative module Alexander Cerutti 2018-05-12 14:35:37 +02:00
  • fe1ce19b0e Fixed function rename calling Alexander Cerutti 2018-05-09 19:19:10 +02:00
  • 0eb2bd75f9 Added some comments to functions, renamed queryToOptions to filterPassOptions Alexander Cerutti 2018-05-09 18:34:50 +02:00
  • 37e3e69df6 Requests and serving update Added support for POST Requests with JSON HTTP Body and GET Requests with QueryString, Renamed res and req in 'response' and 'request', Added support for pass.json buffer retrieval, editing and direct compression in the zip file, Introduced function fileStreamToBuffer to simplify the retrivial of pass.json, Edited pass types names conforming to Apple guide Alexander Cerutti 2018-05-09 18:12:40 +02:00
  • 1d0ed48084 Replaced the creation of one new folder in tmpDir for each manifest to the creation in tmpDir of one manifest with unique generated uuid Added some comments; Renamed some parameters Alexander Cerutti 2018-05-07 22:04:51 +02:00
  • d3b4a17e84 Add a control on sha-1 creation, various Alexander Cerutti 2018-05-07 19:58:54 +02:00
  • 65e4ba6bd0 Removed the first attempt to read the directory to check if the model was available. Replaced with direct model-reading with error handling Alexander Cerutti 2018-05-07 19:19:31 +02:00
  • b93965efde Renamed variables, changes exit conditions from throws to json messages to be sent as response, added comments to functions Alexander Cerutti 2018-05-06 23:25:20 +02:00
  • 1af6039371 Removed shellExec from child_process library require Alexander Cerutti 2018-05-06 21:14:06 +02:00
  • 269e85e7f8 First working version that let you download pass on http request Added config.json for paths and credentials configuration. Alexander Cerutti 2018-05-06 00:06:38 +02:00
  • 7164961ddb First Passkit server commit Alexander Cerutti 2018-04-27 18:25:31 +02:00