From a2616a0495c24b616ababa9531817cb943ac0004 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Wed, 26 Jun 2019 15:04:00 -0700 Subject: [PATCH] Add auditor/backlog.md --- ext/afform/auditor/backlog.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ext/afform/auditor/backlog.md diff --git a/ext/afform/auditor/backlog.md b/ext/afform/auditor/backlog.md new file mode 100644 index 0000000000..27d01df1e2 --- /dev/null +++ b/ext/afform/auditor/backlog.md @@ -0,0 +1,20 @@ +# Afform Auditor Backlog + +The general design of validation mechanism is being discussed in https://github.com/totten/afform/issues/20 + +For the moment, it's good to keep some notes on specific issues for the +validator to catch. Loosely/informally: + +* HTML partials should be well-formed/parseable XML +* Warnings about any unrecognized tags/attributes/classes. +* ``, ``, ``, `` should have suitable relationships. +* `` should reference legit entities. +* `` should reference legit fields. + * Future consideration: how to validate when it's part of a subform? +* `` should reference a declared model. +* `` should contain an object. +* `` should have `href` or `ng-click` or `aff-api4-action` +* Accept a restricted subset of HTML (e.g. `p h1 h2 h3` but not `script` or `[onclick]`) +* Accept a restricted subset of BootstrapCSS +* Accept a restricted subset of Angular HTML +* Accept directives created via Afform -- 2.25.1