anki/rslib
RumovZ 8c515e316e
Template err improvements (#1953)
* Throw error for unknown condition fields as well

So if 'foo' is not a field, refuse to save a template containing
`{{#foo}}bar{{/foo}}`. Previously, only `{{foo}}` would be checked.
As a side effect, templates which *only* contain fields as conditions
may be saved. Meh.

* Display template errors in q/a columns only

So the affected browser row remains active and the user can fix the
template more easily.

* Specify if error occured in a browser template

* Minor wording tweak (dae)

There's an argument for using the exact wording as well, but this just
reads a little more naturally to me.
2022-07-09 13:00:03 +10:00
..
.cargo initial Bazel conversion 2020-11-01 14:26:58 +10:00
benches New TTS/AV tag handling (#1559) 2021-12-17 19:04:42 +10:00
build Since DupeResolution is in CsvMetadata, we don't need to pass it separately 2022-06-27 17:15:54 +10:00
cargo Update regex crate for CVE 2022-06-07 08:39:07 +10:00
i18n Update regex crate for CVE 2022-06-07 08:39:07 +10:00
i18n_helpers Update regex crate for CVE 2022-06-07 08:39:07 +10:00
linkchecker Update regex crate for CVE 2022-06-07 08:39:07 +10:00
src Template err improvements (#1953) 2022-07-09 13:00:03 +10:00
tests/support move linkchecker into separate crate 2021-12-20 17:27:43 +10:00
.gitignore initial Bazel conversion 2020-11-01 14:26:58 +10:00
bench.sh New TTS/AV tag handling (#1559) 2021-12-17 19:04:42 +10:00
BUILD.bazel Plaintext import/export (#1850) 2022-06-01 20:26:16 +10:00
Cargo.toml CSV import/export fixes and features (#1898) 2022-06-09 10:28:01 +10:00
empty.rs Backend Custom Study (#1600) 2022-01-20 14:25:22 +10:00
README.md add some code editing/completion docs 2020-12-16 14:16:08 +10:00
rustfmt.bzl Update to latest rules_rust, which unblocks the tokio upgrade 2022-03-03 19:48:17 +10:00
rustfmt.toml tidy up Rust imports 2021-04-18 18:38:54 +10:00

Anki's Rust code.

backend.proto stores the interfaces used to communicate backend messages between Rust, Python and TypeScript.