Commit Graph

72 Commits

Author SHA1 Message Date
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
Alexander Cerutti
2bdd906989 Small improvements 2019-04-24 22:36:01 +02:00
Alexander Cerutti
43e687b2f4 Added support for row field in auxiliaryFields 2019-04-24 22:36:01 +02:00
Alexander Cerutti
40f72ac434 Added support to semantics keys to fields in schema 2019-04-24 22:36:01 +02:00
Alexander Cerutti
7bad481070 Removed check for changeMessage as per issue topic #15 2019-04-10 22:49:44 +02:00
Alexander Cerutti
fd5efded11 Added pass.strings file concatenation with translations if it already exists in specific folder 2019-04-10 22:26:53 +02:00
Alexander Cerutti
d992b392c5 Small changes to messages 2019-04-08 21:40:32 +02:00
Artsiom Aliakseyenka
f35c4cf5e4 fix: check both static list and remote list before raising error 2019-04-03 19:57:00 +02:00
Alexander Cerutti
a62d8f35ea Renamed __barcodeAutogen to barcodesFromUncompleteData and moved it outside of Pass class;
Renamed __barcodeAutocomplete to Symbol/barcodesFillMissing;
Renamed __barcodeChooseBackward to Symbol/barcodesSetBackward;
Removed context binding when passing above methods with alises after using .barcode();
2019-03-31 16:54:03 +02:00
Alexander Cerutti
d5d4d9617f Edited BRC_ATC_MISSING_DATA message 2019-03-31 16:49:09 +02:00
Alexander Cerutti
2c97274acd Moved tests to spec folder with jasmine configuration 2019-03-30 21:47:26 +01:00
Alexander Cerutti
b6c91b9dfd Little improvement to assignLength function 2019-03-30 18:33:49 +01:00
Alexander Cerutti
33ca24d28d Fixed barcodes validation problem 2019-03-30 17:35:12 +01:00
Alexander Cerutti
447d71709e Improved indentation in fields example 2019-03-30 16:07:18 +01:00
Alexander Cerutti
7c2540a93d Re-engineered FieldContainer to extend successfully array with its method;
Overridden splice, push and pop methods and length prop for FieldsContainer;
Renamed FieldsContainer to FieldsArray (also file);
2019-03-30 16:02:02 +01:00
Alexander Cerutti
34d4879438 Added content-certificates support;
Fixed problem with supported options
2019-03-29 22:11:24 +01:00
Artsiom Aliakseyenka
a9f71f113d Added description to be available for override 2019-03-29 22:10:50 +01:00
Alexander Cerutti
14582ba9d0 Schema: changed webServiceURL Regex and authenticationToken binding to this one 2019-01-22 00:50:02 +01:00