alexandercerutti
|
f5df49f540
|
Fixed maxDistance problem
|
2018-08-20 18:09:01 +02:00 |
|
alexandercerutti
|
8634d540b8
|
Added relevace() method to set beacons and locations; Added schemas for beaconsDict and locationsDict
|
2018-08-20 16:41:27 +02:00 |
|
alexandercerutti
|
8cda71309d
|
Added new translations to 'it' in server.js
|
2018-08-19 16:01:40 +02:00 |
|
alexandercerutti
|
40268709b6
|
Added features tests to server.js, primary and secondary fields, expiration() and void() method
|
2018-08-19 16:01:04 +02:00 |
|
alexandercerutti
|
0d4840373d
|
Added new options to forbidden and supported options in _filterOptions
|
2018-08-19 15:59:24 +02:00 |
|
alexandercerutti
|
599899870b
|
Fixed this.props assignment problem
|
2018-08-19 15:58:14 +02:00 |
|
alexandercerutti
|
769d75cb88
|
Added expiration() and void() methods and dateToW3CString() function to convert date in W3C format
|
2018-08-19 15:57:14 +02:00 |
|
alexandercerutti
|
d97e1c6ab7
|
Fixed methods descriptors
|
2018-08-19 15:55:58 +02:00 |
|
alexandercerutti
|
fcb29b3d68
|
Replaces this.overrides with this.props; all the properties inserted into overrides
now get filtered through _parseSettings and pushed in there;
_patch method now accepts only the pass buffer and not anymore the options;
|
2018-08-19 14:27:45 +02:00 |
|
alexandercerutti
|
f065ab98cd
|
Now localize returns this for method concatenation
|
2018-08-19 13:51:57 +02:00 |
|
alexandercerutti
|
55cb428222
|
Reordered requires per types and installed moment.js
|
2018-08-19 13:51:05 +02:00 |
|
alexandercerutti
|
c1149a2662
|
Changed _filterOptions implementation - added forbidden options checks
|
2018-08-19 00:43:40 +02:00 |
|
alexandercerutti
|
541122f2b1
|
Added and fixed some methods comments
|
2018-08-19 00:38:52 +02:00 |
|
alexandercerutti
|
772ae839bf
|
Added comments to FieldsArea class and its methods
|
2018-08-18 23:07:36 +02:00 |
|
alexandercerutti
|
1e0b08af6a
|
Introduced support to primaryFields, secondaryFields, etc.
|
2018-08-18 16:31:20 +02:00 |
|
alexandercerutti
|
03ea03a752
|
Added fieldsArea class to add fields to primaryFields, secondaryFields, etc
|
2018-08-18 16:30:41 +02:00 |
|
alexandercerutti
|
2d626fd2df
|
Added localization in the server
|
2018-08-13 11:46:01 +02:00 |
|
alexandercerutti
|
5ff5d0e28d
|
Added _generateStringFile method documentation;
Changed checks to return an empty buffer;
Added filter on inverted commas in content when pushing translation to avoid invalid .strings content
|
2018-08-12 17:25:20 +02:00 |
|
alexandercerutti
|
9724592d4b
|
Added documentation for localize function;
Added check for translation type (must be an object)
|
2018-08-12 17:22:10 +02:00 |
|
alexandercerutti
|
6d8f26237a
|
Introduced check for pass.strings buffer length - will be added if greater than 0
|
2018-08-12 17:20:42 +02:00 |
|
alexandercerutti
|
31bb8ac3a0
|
Edited server to return JSON structure as Error
|
2018-08-12 16:16:51 +02:00 |
|
alexandercerutti
|
e360ff01ff
|
Edited generate method to include pass.string translations for each specified language
|
2018-08-11 18:20:54 +02:00 |
|
alexandercerutti
|
88f845cc69
|
Added localize method to register translation in the class; Added _generateStringFile method to create pass.string Buffer
|
2018-08-11 18:19:38 +02:00 |
|
alexandercerutti
|
89a21f47a0
|
Edited error messages
|
2018-08-11 12:02:35 +02:00 |
|
alexandercerutti
|
52bd86a906
|
Added check for icon file in pass model
|
2018-08-11 10:16:55 +02:00 |
|
alexandercerutti
|
af6ab80702
|
Removed errors results as JSON, moved to exception throwing; Changed error messages
|
2018-08-11 00:13:06 +02:00 |
|
alexandercerutti
|
cc23930a2f
|
Transformed the whole generate() execution to a Promise-driven flow
|
2018-08-07 23:49:47 +02:00 |
|
alexandercerutti
|
551dd8a8e0
|
Changed back _patch method to return a Promise
|
2018-08-07 16:22:09 +02:00 |
|
alexandercerutti
|
bab73d7b62
|
Fixed edit parameters passing
|
2018-08-07 16:16:07 +02:00 |
|
alexandercerutti
|
c0098fe171
|
Added script for dev to ignore list
|
2018-08-07 01:12:39 +02:00 |
|
alexandercerutti
|
7efbb9c3d1
|
Moved pass types into _validateType
|
2018-08-05 18:32:02 +02:00 |
|
alexandercerutti
|
565916c65d
|
Removed Promise returning into _patch; Now the catch is done when calling _patch and not inside _patch itself
|
2018-08-03 02:38:35 +02:00 |
|
alexandercerutti
|
1d1a4cd9c5
|
Added specific patching for barcode(s)
|
2018-07-26 14:30:57 +02:00 |
|
alexandercerutti
|
c11472a447
|
Edited options patching way.
|
2018-07-25 23:09:53 +02:00 |
|
alexandercerutti
|
ea8baec2b5
|
Changed _validateType to validate also the schema;
Edited schemas to comply with boardingPass requirements and the others pass types
|
2018-07-25 17:08:06 +02:00 |
|
alexandercerutti
|
1c68623596
|
Removed old handlers support
|
2018-07-25 16:31:51 +02:00 |
|
alexandercerutti
|
d5c1c48715
|
Renamed Promise done in success; Changed conditions to show barcode incompatibility notices
|
2018-07-24 16:34:29 +02:00 |
|
alexandercerutti
|
599280cf5c
|
Moved settings checks in generate() and moved generate() content in an inline arrow function
|
2018-07-24 16:31:26 +02:00 |
|
alexandercerutti
|
514a15abd5
|
Moved removeHidden function to the bottom of the file
|
2018-07-24 16:30:01 +02:00 |
|
alexandercerutti
|
751e799462
|
Changed the way in which certificates are valid; Removed async parallel execution after handlers removal; Changed model extension adding condition
|
2018-07-24 01:03:48 +02:00 |
|
alexandercerutti
|
2d66e14f15
|
Changed schema violation from throw to Promise rejection
|
2018-07-24 01:03:34 +02:00 |
|
alexandercerutti
|
903d854723
|
Removed _checkReqs, moved back its checks into generate()
|
2018-07-24 00:27:34 +02:00 |
|
alexandercerutti
|
7023009b2d
|
Removed handlers
|
2018-07-24 00:07:04 +02:00 |
|
alexandercerutti
|
2f3e6ff43b
|
Renamed passExtractor function in _passExtractor function
|
2018-07-24 00:03:12 +02:00 |
|
alexandercerutti
|
e3bf2e4add
|
Replaced exception throw with Promise Rejection
|
2018-07-23 18:13:02 +02:00 |
|
alexandercerutti
|
b1daa2d216
|
Converted certificates files names into paths; Removed dir property from the schema
|
2018-07-23 17:22:08 +02:00 |
|
alexandercerutti
|
ad55d3aeba
|
Model is now represented as string containing path, not anymore an Object
|
2018-07-23 16:59:03 +02:00 |
|
alexandercerutti
|
c2081e32c7
|
Moved bigger functions in generate() into variables;
Fixed some typos
|
2018-07-23 15:39:50 +02:00 |
|
alexandercerutti
|
fa2b656efd
|
Edited schemas, moved outside the object all the schemas,
added schemas for structure and field
|
2018-07-23 11:19:02 +02:00 |
|
alexandercerutti
|
c05bd130c3
|
Added schemas for 'field' and 'structure'
|
2018-07-22 23:48:55 +02:00 |
|