Commit Graph

  • 77ff51b155 1.4.2 Alexander Cerutti 2018-12-11 21:27:36 +01:00
  • 92fc5f8264 Minor changes to READMEs and core Alexander Cerutti 2018-12-11 21:25:30 +01:00
  • 96e2b628fe Updated documentation Alexander Cerutti 2018-12-08 17:54:36 +01:00
  • bad4b01fad 1.4.1 Alexander Cerutti 2018-12-06 21:35:14 +01:00
  • 4b65e76be7 Merge pull request #5 from jennysharps/issue-4/model-validation Alexander Cerutti 2018-12-05 14:29:11 +01:00
  • 2a71d07788 Fix model initialization validation Jenny Sharps 2018-12-05 13:21:51 +00:00
  • 153108ad44 Improved README Alexander Cerutti 2018-12-02 14:55:16 +01:00
  • ab6dd4ff68 Added logo in assets and README Alexander Cerutti 2018-11-30 22:04:15 +01:00
  • b305633ed3 Added updates for OpenSSL for Windows in termal steps for cers generation Alexander Cerutti 2018-11-24 16:44:31 +01:00
  • 9055390bb3 Updated dependencies minimum version Alexander Cerutti 2018-11-24 16:35:05 +01:00
  • e3bc72ae5d 1.4.0 Alexander Cerutti 2018-11-17 23:32:00 +01:00
  • 1ca53adc4d Added working example for load Alexander Cerutti 2018-11-17 23:27:09 +01:00
  • 4b2aa68ffb Added .load type definition Alexander Cerutti 2018-11-17 23:21:07 +01:00
  • 8398e077b1 Fix typos for non-mac guide Alexander Cerutti 2018-11-17 23:20:45 +01:00
  • 2e344e4367 Added .load to documentation; removed express from dev dependencies Alexander Cerutti 2018-11-17 23:18:53 +01:00
  • b68dfe0d80 Added .load function to fetch pictures from the web and implemented fetching function inside logic flow Alexander Cerutti 2018-11-17 22:58:06 +01:00
  • 23857d7c01 1.3.5 Alexander Cerutti 2018-11-07 12:54:01 +01:00
  • f6cd7cbc56 Changed way parsePEM checks with operation execute Alexander Cerutti 2018-11-07 12:53:07 +01:00
  • dd43daacfe Changed _parseSettings to synchronously parse options; Added _parseCertificates to parse certs only if not parsed yet; _parseSettings now returns the parsed properties and not assign them; Added _raw property to this.Certificates and removed this.options since useless Alexander Cerutti 2018-11-07 12:42:07 +01:00
  • 7e2850e9d9 Schema.js vscode auto correct Alexander Cerutti 2018-11-07 12:35:46 +01:00
  • 7624a895e0 Uniformed filenames for certificates, fixed some problems in tests (maybe related to legal/solar time?) Alexander Cerutti 2018-11-07 12:35:07 +01:00
  • 48e6755082 Added certificate generation steps valid for all the platform that have openssl Alexander Cerutti 2018-11-07 12:13:41 +01:00
  • 21f2ccf423 Added function "resolveErrorName" and "format" in messages to not pass just strings to represent errors; Converted all errors in pass.js to format; Changed some error names Alexander Cerutti 2018-10-30 20:16:05 +01:00
  • 5224f7fcb9 Micro change to words in Readme Alexander Cerutti 2018-10-24 22:06:18 +02:00
  • 0e3aa75319 1.3.3 alexandercerutti 2018-10-18 00:07:23 +02:00
  • 14cccc8c17 Updated .gitignore alexandercerutti 2018-10-18 00:06:44 +02:00
  • 6b81b7e32a Updated documentation alexandercerutti 2018-10-18 00:06:27 +02:00
  • af3c2b2159 Fixed not working check of unique keys for fields in the pass alexandercerutti 2018-10-17 20:25:28 +02:00
  • 1525e0e0ce Removed manifest type error alexandercerutti 2018-10-16 01:45:26 +02:00
  • b23f2b819d Added node engine requirement alexandercerutti 2018-10-16 01:04:17 +02:00
  • 9ba64fc349 Improved _sign method to accept only object as parameter and changed comments inside alexandercerutti 2018-10-16 00:59:49 +02:00
  • 68cb8af7c8 Improved examples documentation alexandercerutti 2018-10-14 19:26:25 +02:00
  • c393ab753d 1.3.2 alexandercerutti 2018-10-10 17:53:54 +02:00
  • b326733121 Added vscode workspace to ignore list alexandercerutti 2018-10-10 17:52:59 +02:00
  • dffec03b07 Moved source to src folder alexandercerutti 2018-10-10 17:51:33 +02:00
  • b7495f67c5 Added express as dev dependency alexandercerutti 2018-10-10 17:49:02 +02:00
  • 8617bcf4f5 Added typescript declaration file alexandercerutti 2018-10-10 16:42:00 +02:00
  • bac8fecc98 Updated package-lock alexandercerutti 2018-10-10 16:39:33 +02:00
  • 67f5399828 Renamed this.uniqueKeys in this._uniqueKeys alexandercerutti 2018-10-10 13:01:55 +02:00
  • d5ed22759f Fixed comments and links; Moved pass lower-level definition to index.js alexandercerutti 2018-10-10 11:42:21 +02:00
  • 188b35570c Improved text and descriptions in API document alexandercerutti 2018-10-07 21:00:29 +02:00
  • 4f380492c6 Fixed problem in barcode.js alexandercerutti 2018-09-29 11:19:34 +02:00
  • 5d27916e23 Renamed Readme in examples alexandercerutti 2018-09-29 11:19:16 +02:00
  • 87b032ef6d 1.3.1 alexandercerutti 2018-09-23 12:01:17 +02:00
  • cfbff4ba6e Fixed parseSettings certificates parsing problem Removed old reject (which was undefined); Forwarded error to .catch and selected the message type alexandercerutti 2018-09-23 12:00:31 +02:00
  • d57e2abd71 Added Invalid_cert_path error message alexandercerutti 2018-09-23 11:59:18 +02:00
  • d8eda01e62 Fixed link to localize method alexandercerutti 2018-09-13 16:54:53 +02:00
  • 4cdfbc46b5 Added some credits alexandercerutti 2018-09-13 14:33:27 +02:00
  • 9de4a7a9ee Edited API page markdown to conform to Github markdown parsing alexandercerutti 2018-09-13 01:29:47 +02:00
  • 0deb4861ff Updated .gitignore alexandercerutti 2018-09-12 23:54:24 +02:00
  • 019561ec83 Added documentation alexandercerutti 2018-09-12 23:01:40 +02:00
  • d9423cddd4 Prepublish clean alexandercerutti 2018-09-12 22:58:47 +02:00
  • b1af0c4af3 Edited package.json alexandercerutti 2018-09-12 21:54:51 +02:00
  • 44d82a0ef2 Changed License and added relative file alexandercerutti 2018-09-09 18:34:08 +02:00
  • f6f9cbee64 Edited require path alexandercerutti 2018-09-09 16:51:35 +02:00
  • 0e818aaef7 Removed server.js, edited .gitignore and package.json to remove server.js alexandercerutti 2018-09-09 16:51:01 +02:00
  • 1560b843ff Removed server.js alexandercerutti 2018-09-12 22:02:12 +02:00
  • 470ce54b9c Changed (pass/this).props in (pass/this)._props; Added disclaimer alexandercerutti 2018-09-12 12:33:45 +02:00
  • d675057c95 Fixed adding of locations and beacons only if array has at least 1 element alexandercerutti 2018-09-11 22:09:37 +02:00
  • fb61f08691 Added barcode().backward() tests alexandercerutti 2018-09-12 00:58:39 +02:00
  • 714659bcbb Added tests for barcode alexandercerutti 2018-09-11 19:24:18 +02:00
  • 2c2910118d Added Jasmine as dependency for development; Added test command in package.json alexandercerutti 2018-09-10 23:06:38 +02:00
  • deda9d2bde Added tests for relevance alexandercerutti 2018-09-10 23:02:00 +02:00
  • 5c94f22d58 Added tests for expiration alexandercerutti 2018-09-10 01:07:17 +02:00
  • cbf6f3018f Added tests for localize alexandercerutti 2018-09-10 00:04:24 +02:00
  • 781483854a Renamed this.props in this._props alexandercerutti 2018-09-12 12:33:45 +02:00
  • ad08104b1e Removed warnings as exported structure alexandercerutti 2018-09-12 11:35:17 +02:00
  • 4f83b18133 Reordered requires for packages and internal files alexandercerutti 2018-09-12 11:34:40 +02:00
  • 18750acd9b Moved _generateStringFile method outside the class as function generateStringFile, changed its implementation alexandercerutti 2018-09-12 11:18:42 +02:00
  • 0971cdb780 Autocomplete returns effective number of added structures alexandercerutti 2018-09-12 00:53:06 +02:00
  • a121fd84ea Added format and relevanceDateFormat optional parameters for expiration and relevance; changed dateToW3CString() alexandercerutti 2018-09-11 22:37:58 +02:00
  • 8c3482a562 Fixed adding of locations and beacons only if array has at least 1 element alexandercerutti 2018-09-11 22:09:37 +02:00
  • 4a790d4161 Changed validation method in barcode; added function 'getValidated' to obtain validation content alexandercerutti 2018-09-11 19:28:13 +02:00
  • b3e8ea1e4a Added check in localize for lang alexandercerutti 2018-09-11 19:25:33 +02:00
  • 9c436b2c48 Improved check in nfc adding alexandercerutti 2018-09-09 16:05:01 +02:00
  • 4bc46510dc Improved check for maxDistance, to check if the converted value is NaN alexandercerutti 2018-09-09 16:03:01 +02:00
  • d9a276026e Improved check on dates; added genericDebug to show debug messages alexandercerutti 2018-09-09 16:01:54 +02:00
  • fba65ed639 Renamed 'quantity' argument in 'amount' in fields alexandercerutti 2018-09-09 16:00:17 +02:00
  • 4e1bc5c3fb Now excluding fields with the same key alexandercerutti 2018-08-29 19:54:15 +02:00
  • 458ef1c481 Added working examples for barcode, localization, fields and expiration with working pass models and webserver alexandercerutti 2018-08-29 18:38:22 +02:00
  • b9ede238c2 Added new line in messages.js alexandercerutti 2018-08-29 18:32:53 +02:00
  • 6502ba2e24 Removed useless try-catch alexandercerutti 2018-08-28 15:39:43 +02:00
  • cdc23ecc22 Added comment for nfc method alexandercerutti 2018-08-28 15:36:15 +02:00
  • 7f43325751 Added some comments, fixed barcode problem when not valid, refactored a condition alexandercerutti 2018-08-28 15:07:30 +02:00
  • 04c379f9dd Changed way to set authenticationToken as required when webServiceURL is provided alexandercerutti 2018-08-28 15:06:10 +02:00
  • 50c2dc2b73 Added debug for barcode methods alexandercerutti 2018-08-28 15:05:35 +02:00
  • d7c003149a Changed schema passing method to strings instead of constants; Added schema name resolution function in schema.js and schemas list alexandercerutti 2018-08-28 02:04:06 +02:00
  • 5e2dd8a674 Added the left valid fields to field structure schema alexandercerutti 2018-08-28 01:48:57 +02:00
  • dbb5dcc2a5 Added nfc method to push nfc properties to be patched alexandercerutti 2018-08-28 01:48:19 +02:00
  • 8313d9e9a0 Removed __filterOptions and added filter function in schema to filter the valid options; Added structure for nfc dictionary alexandercerutti 2018-08-28 01:47:49 +02:00
  • 854ceddb04 Changed types in schema for attributedValue and value to accept multiple types alexandercerutti 2018-08-27 16:24:05 +02:00
  • b8e6eec016 Now isValid for schema validation, prints the message when debug is on; Added dependency of debug alexandercerutti 2018-08-27 14:00:36 +02:00
  • 788245b140 Applied some changes for schema for a more correct validation alexandercerutti 2018-08-27 14:00:02 +02:00
  • 9e812e9d10 Version 1.2.0 alexandercerutti 2018-08-27 00:24:54 +02:00
  • 5b533c8d00 Moved to index.js getter and setter of transitType; Removed from fields.js the class created specifically alexandercerutti 2018-08-27 00:23:58 +02:00
  • 3c56659697 Fixed condition for transitType alexandercerutti 2018-08-26 12:40:03 +02:00
  • a874171e2c Removed basicStructure and boardingStructure in schema for passDict with common fields and transitType alexandercerutti 2018-08-26 12:16:51 +02:00
  • 4ea50c5d95 Removed early return in _patch since not needed (this.props is not the only property to be checked in _patch) alexandercerutti 2018-08-26 12:07:23 +02:00
  • 4e3fa748c1 Added conditional pushing or replacing of fields inside fieldsName, based on this.shouldOverwrite alexandercerutti 2018-08-26 12:06:21 +02:00
  • 04b5058f3a Added StringField class for transitType field; Added parsing specific for transit inside _patch method that throws Renamed fields.area in fieldsName alexandercerutti 2018-08-26 12:05:15 +02:00