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
Alexander Cerutti
02a932ce7a
Schema: removed filter function for getValidated to return empty object in case of error;
...
Added OVV_KEYS_BADFORMAT message to throw in case of error;
2019-01-22 00:35:23 +01:00
Alexander Cerutti
1d1f9f9c90
Replaced findIndex for find to get directly the pass type
2019-01-20 18:55:14 +01:00
Alexander Cerutti
b32c2efcd0
Added function assignLength to wrap new objects with length property
2019-01-20 18:54:24 +01:00
Alexander Cerutti
e4b3436b46
Converted schemas arrow functions to functions and added descriptive comments
2019-01-20 17:46:15 +01:00
Alexander Cerutti
5e4d3b8ca1
Added noop function instead creating new empty functions
2019-01-20 16:57:11 +01:00
Alexander Cerutti
56da2a3908
Bugfix: when overrides is not passed as option, the pass does not get generated
2019-01-09 20:41:47 +01:00
Alexander Cerutti
47ff693b66
Added schema support for sharingProhibited (not documented in ppfr)
2019-01-08 23:16:33 +01:00
alexandercerutti
9a9d883d3f
Fixed problem in error message resolving on multiple %s;
...
Added debug messages in messages.js;
Added more comments;
Moved literal debug messages to messages.js;
Edited formatMessage (was formatError) to check also among debugMessages
2018-12-29 02:02:18 +01:00
Alexander Cerutti
27339bfdac
Minor improvements
2018-12-12 20:39:55 +01:00
Alexander Cerutti
e57f08d605
1.5.0
2018-12-11 22:20:09 +01:00
Alexander Cerutti
cf5c99b16a
Moved _parseCertificates outside of pass and renamed it in readCertificates;
...
Changed readCertificates to return object containing name:parsed-pem;
Added readCertificates and this.Certificates merging before model reading;
2018-12-11 22:18:45 +01:00
Alexander Cerutti
92fc5f8264
Minor changes to READMEs and core
2018-12-11 21:25:30 +01:00
Jenny Sharps
2a71d07788
Fix model initialization validation
2018-12-05 13:21:51 +00:00
Alexander Cerutti
b68dfe0d80
Added .load function to fetch pictures from the web and implemented fetching function inside logic flow
2018-11-17 23:19:48 +01:00
Alexander Cerutti
f6cd7cbc56
Changed way parsePEM checks with operation execute
2018-11-07 12:53:07 +01:00
Alexander Cerutti
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
2018-11-07 12:42:07 +01:00
Alexander Cerutti
7e2850e9d9
Schema.js vscode auto correct
2018-11-07 12:35:46 +01:00
Alexander Cerutti
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
2018-10-30 20:22:27 +01:00
alexandercerutti
af3c2b2159
Fixed not working check of unique keys for fields in the pass
2018-10-17 20:25:28 +02:00
alexandercerutti
1525e0e0ce
Removed manifest type error
2018-10-16 01:45:26 +02:00
alexandercerutti
9ba64fc349
Improved _sign method to accept only object as parameter and changed comments inside
2018-10-16 00:59:49 +02:00
alexandercerutti
dffec03b07
Moved source to src folder
2018-10-10 17:51:33 +02:00