Commit Graph

89 Commits

Author SHA1 Message Date
Alexander Cerutti
79a55f64d4 Fixed wrong variables, added initialization 2019-06-09 23:41:20 +02:00
Alexander Cerutti
91008de66e Changed pass _sign to accept signerkey content 2019-06-09 12:23:04 +02:00
Alexander Cerutti
688b4da4f7 Changed _patch method to accept Buffer and return patched buffer 2019-06-09 12:22:16 +02:00
Alexander Cerutti
d562053a14 Removed unused methods hasValidType, _parseSettings, readCertificates, etc. 2019-06-09 12:12:48 +02:00
Alexander Cerutti
70b42509c3 Changed generate method: removed 2019-06-09 12:04:39 +02:00
Alexander Cerutti
38d1ccbfb2 Removed unused imported dependencies 2019-06-09 12:00:54 +02:00
Alexander Cerutti
8a841301fa Changed Pass constructor to conform to the new architecture; 2019-06-09 11:51:33 +02:00
Alexander Cerutti
16a9ebcd5c Renamed model in bundle 2019-06-09 11:48:25 +02:00
Alexander Cerutti
61a37eaa24 Fixed problem with bundles 2019-06-09 11:47:42 +02:00
Alexander Cerutti
46bd6d3b3c Moved types from factory to schema 2019-06-09 11:46:28 +02:00
Alexander Cerutti
75ca49d89a Added existence check for readCertificates 2019-06-07 20:48:55 +02:00
Alexander Cerutti
083142330c Added management for non-existing folder-model bundle files 2019-06-07 20:48:55 +02:00
Alexander Cerutti
65b8eea999 Added exports to createPass function;
Integrated missing dependency
2019-06-07 20:48:55 +02:00
Alexander Cerutti
8d9cbe6698 Delegated model checks to getModelContents function;
Added try-catch to handle failure
2019-06-07 20:48:55 +02:00
Alexander Cerutti
66e224205e Uniformed factory cross-functions naming 2019-06-07 20:48:55 +02:00
Alexander Cerutti
6f25dc40cf Improved l10n bundle distribution 2019-06-07 20:48:55 +02:00
Alexander Cerutti
b6005bd821 improved types fix1 2019-06-07 20:48:55 +02:00
Alexander Cerutti
cd3b977b1f Improved interfaces and model 2019-06-07 20:48:55 +02:00
Alexander Cerutti
b3b0b1c877 Added function comments to factory model analysis functions 2019-06-07 20:48:55 +02:00
Alexander Cerutti
3976d86aa1 Improved FactoryOptions model 2019-06-07 20:48:54 +02:00
Alexander Cerutti
1cc8ae2975 Added functions getModelBufferContents, getModelFolderContents and getModelContents; 2019-06-07 20:48:54 +02:00
Alexander Cerutti
95240a91f7 Splitted certificates schema from instance one 2019-06-07 20:48:54 +02:00
Alexander Cerutti
1ec1c55483 Added first version of factory with certificates reading 2019-06-07 20:48:54 +02:00
Alexander Cerutti
ffdaf8ac61 Added more return types 2019-06-07 20:48:54 +02:00
Alexander Cerutti
5971e47853 Added Certificates interface 2019-06-07 20:47:06 +02:00
Alexander Cerutti
9609187fa5 Moved pass.json to typescript; Removed load method from pass implementation 2019-06-07 20:47:05 +02:00
Alexander Cerutti
7ee36c6f87 Moved fieldsArray to typescript 2019-06-07 20:44:40 +02:00
Alexander Cerutti
464f23e965 Moved messages.js to typescript 2019-06-07 20:31:59 +02:00
Alexander Cerutti
680ef5b8b7 Moved utils.js to typescript 2019-06-07 20:31:59 +02:00
Alexander Cerutti
2657ba272f Moved Schema.js to typescript with Joi-matched interfaces 2019-06-07 20:29:07 +02:00
Ian Bale
bc941640fc Adding support for native Dates (#32) by Ianbale 2019-06-07 13:06:16 +02:00
Ian Bale
a0a02bf083 Fixing passes parallel generation (#31) by Ianbale 2019-06-07 13:06:16 +02:00
Alexander Cerutti
f292031494 Added support for logoText in supportedOptions (issues #21, #28) 2019-06-07 12:56:12 +02:00
Alexander Cerutti
6451a3c378 Fixed nfc methods which was accepting and registering an array instead of an object 2019-06-07 12:56:12 +02:00
Alexander Cerutti
4c25002b8d Improved code readability 2019-05-24 23:45:33 +02:00
Alexander Cerutti
903192522c Added windows path slash parsing 2019-05-24 23:45:33 +02:00
Zach Aries
c92691d68e fix: await for _remoteResources.reduce to resolve 2019-05-03 10:07:58 -06:00
Alexander Cerutti
fb2338e760 Reverted parsePEM from utils to pass.js 2019-04-30 22:11:08 +02:00
Alexander Cerutti
baf096c380 Moved some utility functions to a separate file 2019-04-28 12:15:24 +02:00
Alexander Cerutti
37a9a051c6 Removed rgbValues as a variable for a direct approact;
Added comment to that part;
2019-04-28 11:49:28 +02:00
Alexander Cerutti
3de6547591 Renamed _validateType to _hasValidType 2019-04-28 11:49:28 +02:00
Alexander Cerutti
1dcc624245 Moved some let to const 2019-04-28 11:49:28 +02:00
Alexander Cerutti
033f39ef0b Reordered schemas for tests 2019-04-28 11:49:27 +02:00
Alexander Cerutti
17e64a08ae Fixed barcode legacy bug 2019-04-28 11:49:27 +02:00
Alexander Cerutti
3338ff7b8f Added NO_PASS_TYPE as message 2019-04-28 11:49:27 +02:00
Alexander Cerutti
bd8643b208 Moved passExtractor function to class scope as 'private' 2019-04-28 11:49:27 +02:00
Alexander Cerutti
18893ac742 Moved to async/await approach for generate() 2019-04-28 11:49:27 +02:00
Alexander Cerutti
ddbad21575 Small change to comment 2019-04-24 23:04:28 +02:00
Alexander Cerutti
c559a7f1ce Improved unique fields management;
Changed debug message for discarded fields;
Renamed uniqueKeys to fieldsKeys
2019-04-24 22:52:37 +02:00
Alexander Cerutti
f7d0823528 Added BRC_BW_FORMAT_UNSUPPORTED to not let PKBarcodeFormatCode128 to be used as backward barcode format 2019-04-24 22:36:01 +02:00