Anki/rslib/src/backend
Damien Elmes 9025985505 replace the old stripHTML() methods with the backend implementation
Python's regex engine performs pathologically on regexes like
'<!--.*?-->' when fed a large string of repeating '<!--' clauses.
Thanks to JaimeSlome / security@huntr.dev for the report; closes #1380.

Solved by switching to the Rust implementation, which does not suffer
from this issue.

entsToText(), minimizeHTML(), and the old regex constants have been
removed; they do not appear to be used by any add-ons.
2021-10-01 23:15:45 +10:00
..
scheduler rename Config in protobuf to avoid conflict with module name 2021-07-11 19:27:08 +10:00
search Add tooltips for some browser columns 2021-09-30 13:15:09 +02:00
sync in/out -> request/response 2021-06-20 15:49:20 +10:00
adding.rs tidy up Rust imports 2021-04-18 18:38:54 +10:00
card.rs support updating multiple cards in one transaction/undo op 2021-08-02 16:59:02 +10:00
cardrendering.rs replace the old stripHTML() methods with the backend implementation 2021-10-01 23:15:45 +10:00
collection.rs in/out -> request/response 2021-06-20 15:49:20 +10:00
config.rs configs.proto plural workaround no longer necessary 2021-07-11 19:35:18 +10:00
dbproxy.rs update to latest rusqlite 2021-06-25 16:22:21 +10:00
deckconfig.rs expose scheduler js option in deck config 2021-06-24 14:38:10 +10:00
decks.rs in/out -> request/response 2021-06-20 15:49:20 +10:00
error.rs handle notes with missing cards in browser 2021-07-22 14:58:57 +10:00
generic.rs new change notetype implementation for the frontend 2021-06-10 22:19:24 +10:00
i18n.rs in/out -> request/response 2021-06-20 15:49:20 +10:00
links.rs Remove native HelpPage enum 2021-07-22 16:32:49 +02:00
media.rs in/out -> request/response 2021-06-20 15:49:20 +10:00
mod.rs Add links.proto and backend module 2021-07-22 10:05:38 +02:00
notes.rs support updating multiple notes in one transaction/undo op 2021-08-02 17:07:26 +10:00
notetypes.rs Skip new notetype checks when importing apkg 2021-07-28 21:46:51 +02:00
ops.rs fix note changes triggering a queue rebuild 2021-06-08 12:09:35 +10:00
progress.rs fix clippy lints for latest Rust 2021-06-21 13:09:36 +10:00
stats.rs in/out -> request/response 2021-06-20 15:49:20 +10:00
tags.rs bikeshedding: amount -> match_limit 2021-09-12 11:57:49 +10:00