Merge pull request #18466 from mattwire/scheduledJobFatalErrorHandler
[civicrm-core.git] / ext / afform / auditor / backlog.md
1 # Afform Auditor Backlog
2
3 The general design of validation mechanism is being discussed in https://github.com/totten/afform/issues/20
4
5 For the moment, it's good to keep some notes on specific issues for the
6 validator to catch. Loosely/informally:
7
8 * HTML partials should be well-formed/parseable XML
9 * Warnings about any unrecognized tags/attributes/classes.
10 * `<af-form>`, `<af-entity>`, `<af-fieldset>`, `<af-field>` should have suitable relationships.
11 * `<af-entity>` should reference legit entities.
12 * `<af-field>` should reference legit fields.
13 * The optional override `defn='{label:...}` changed to `defn={title:...}`
14 * Future consideration: how to validate when it's part of a subform?
15 * `<af-fieldset>` should reference a declared model.
16 * `<af-field defn="...">` should contain an object.
17 * `<a>` should have `href` or `ng-click` or `af-api4-action`
18 * Accept a restricted subset of HTML (e.g. `p h1 h2 h3` but not `script` or `[onclick]`)
19 * Accept a restricted subset of BootstrapCSS
20 * Accept a restricted subset of Angular HTML
21 * Accept directives created via Afform
22 * Circa 5.35, afforms became strictly (e)lement mode and dropped (a)ttribute mode (#19438)