Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fix default options missing profiles (#829) | toasted-nutbread | 2020-09-13 |
| | | | | | * Add minItems requirement for profiles array * Use minItems/maxItems for default value construction | ||
* | OptionsUtil refactor / options default values (#807) | toasted-nutbread | 2020-09-11 |
| | | | | | | | | | | | | | | | | | | | | | | | * Replace _readFile with _fetchAsset for consistency with Backend * Fix error messages * Make OptionsUtil non-static * Update how default options are assigned * Add createValidatingProxy * Add validate, update _onApiSetAllSettings * Remove unused api.optionsSchemaGet * Remove Backend._optionsSchema * Update OptionsUtil to create its own JsonSchemaValidator * Rename Backend._optionsSchemaValidator * Make getDefault non-async | ||
* | Json schema profile conditions (#758) | toasted-nutbread | 2020-09-04 |
| | | | | | | | | | | | | | | | * Add clearCache function * Add upgrade * Use schema-based profile condition validation * Update profile conditions settings controller * Remove unnecessary async * Remove old * Remove unused templates | ||
* | JSON schema refactor (#731) | toasted-nutbread | 2020-08-15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Remove JsonSchema.clone * Move createProxy function * Group public properties first * Create private version of getPropertySchema * Mark functions as private * Use non-static getValidValueOrDefault * Mark private * Make public validate function not take an info parameter * Remove JsonSchema * Add isValid function * Use isValid for some tests * Fix incorrect type | ||
* | More JSON schema improvements (#729) | toasted-nutbread | 2020-08-11 |
| | | | | | | | | | * Add support for constant values * Add contains check for arrays * Add tests * Simplify getValidValueOrDefault testing | ||
* | Json schema improvements (#722) | toasted-nutbread | 2020-08-09 |
| | | | | | | | | | | | | | * Add support for regex pattern testing * Add tests * Separate JsonSchemaProxyHandler statics into JsonSchemaValidator * Use this instead of JsonSchemaValidator * Make JsonSchemaValidator non-static * Use cache map for regex | ||
* | Make JsonSchemaProxyHandler.unconstrainedSchema public and non-configurable ↵ | toasted-nutbread | 2020-07-03 |
| | | | | (#636) | ||
* | Clone function (#624) | toasted-nutbread | 2020-06-28 |
| | | | | | | | | | | | * Add clone function * Replace utilIsolate with clone * Replace JsonSchema.isolate with clone function * Include core.js for tests which use json-schema.js * Update visisted set | ||
* | Update license author field to broader to explicitly reflect that | Alex Yatskov | 2020-04-10 |
| | | | | | Yomichan is an ongoing community project. It really does take a village, and everyone who contributes code owns a part of it :) | ||
* | Add no-shadow | toasted-nutbread | 2020-02-22 |
| | |||
* | Fix init | toasted-nutbread | 2020-02-02 |
| | |||
* | Improve schema path when using getPropertySchema | toasted-nutbread | 2020-02-02 |
| | |||
* | Update how property schemas are returned | toasted-nutbread | 2020-02-02 |
| | |||
* | Fix missing else | toasted-nutbread | 2020-02-02 |
| | |||
* | Add improved error information when validation fails | toasted-nutbread | 2020-02-02 |
| | |||
* | Fix ifSchema | toasted-nutbread | 2020-02-02 |
| | |||
* | Fix conditional logic | toasted-nutbread | 2020-02-02 |
| | |||
* | Update schema validation to throw errors | toasted-nutbread | 2020-02-02 |
| | |||
* | getSchemaOrValueType return null | toasted-nutbread | 2020-02-02 |
| | |||
* | Fix maxLength check | toasted-nutbread | 2020-02-02 |
| | |||
* | Improve getPropertySchema's type detection | toasted-nutbread | 2020-02-02 |
| | |||
* | Add validate on JsonSchema | toasted-nutbread | 2020-02-02 |
| | |||
* | Improve support for array schemas | toasted-nutbread | 2020-02-02 |
| | |||
* | Return unconstrained schema when additionalProperties is true/undefined | toasted-nutbread | 2020-02-02 |
| | |||
* | Add support for conditionals | toasted-nutbread | 2020-02-02 |
| | |||
* | Add support for allOf, anyOf, oneOf, and not | toasted-nutbread | 2020-02-02 |
| | |||
* | Add simplified isObject test | toasted-nutbread | 2020-02-02 |
| | |||
* | Update license info URL | toasted-nutbread | 2020-01-01 |
| | |||
* | Update copyright | toasted-nutbread | 2020-01-01 |
| | |||
* | Fix schema defaults not applying to arrays | toasted-nutbread | 2019-12-29 |
| | |||
* | Create proxy system for json schema validation | toasted-nutbread | 2019-12-29 |