anki/pylib/anki
Damien Elmes 4da1c77220 add basic tag completion to backend
Matches should arrive in alphabetical order. Currently results are not
capped (JS should be able to handle ~1k tags without too much hassle),
and no reordering based on match location is done. Matches are substring
based, and multiple can be provided, eg "foo::bar" will match
"foof::baz::abbar".

This is not hooked up properly on the frontend at the moment -
updateSuggestions() seems to be missing the most recently typed character,
and is not updating the list of completions half the time.
2021-09-09 15:38:08 +02:00
..
_backend add basic tag completion to backend 2021-09-09 15:38:08 +02:00
importing Skip new notetype checks when importing apkg 2021-07-28 21:46:51 +02:00
scheduler configs.proto plural workaround no longer necessary 2021-07-11 19:35:18 +10:00
syncserver move proto files into separate py_library in same namespace 2021-07-11 14:51:25 +10:00
__init__.py move proto files into separate py_library in same namespace 2021-07-11 14:51:25 +10:00
_legacy.py PEP8 models.py 2021-06-27 14:30:00 +10:00
backend_pb2.pyi refactor protobuf handling for split/import 2021-07-10 19:17:05 +10:00
browser.py Add pylib/browser.py for literal config keys 2021-07-05 12:44:48 +02:00
BUILD.bazel require protobuf 3.17+ 2021-08-15 16:28:32 +10:00
buildinfo.py run black/isort on Python scripts 2021-04-14 18:22:02 +10:00
card_rendering_pb2.pyi split out remaining tags, stats, media and rendering 2021-07-10 23:16:18 +10:00
cards_pb2.pyi split out cards and collection 2021-07-10 19:52:31 +10:00
cards.py support updating multiple cards in one transaction/undo op 2021-08-02 16:59:02 +10:00
collection_pb2.pyi split out cards and collection 2021-07-10 19:52:31 +10:00
collection.py show v3 scheduler in error info 2021-08-20 10:47:41 +10:00
config_pb2.pyi configs.proto plural workaround no longer necessary 2021-07-11 19:35:18 +10:00
config.py configs.proto plural workaround no longer necessary 2021-07-11 19:35:18 +10:00
consts.py move proto files into separate py_library in same namespace 2021-07-11 14:51:25 +10:00
db.py add some typehints, and remove some unused code 2021-01-31 20:56:21 +10:00
dbproxy.py move proto files into separate py_library in same namespace 2021-07-11 14:51:25 +10:00
deckconfig_pb2.pyi split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
decks_pb2.pyi split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
decks.py fix inverted decks.have() 2021-09-01 12:00:05 +10:00
errors.py simplify errors 2021-04-03 16:06:46 +10:00
exporting.py fix mypy issue introduced in #1304 2021-07-21 18:00:53 +10:00
find.py ID -> Id in protobuf and Python 2021-03-27 21:38:20 +10:00
generic_pb2.pyi refactor protobuf handling for split/import 2021-07-10 19:17:05 +10:00
hooks_gen.py symlink generated .py/.pyi into tree to fix Python code completion 2020-12-16 11:36:42 +10:00
hooks.py add more typing, and enable checks for missing types for most of pylib 2021-01-31 21:38:36 +10:00
httpclient.py move proto files into separate py_library in same namespace 2021-07-11 14:51:25 +10:00
i18n_pb2.pyi refactor protobuf handling for split/import 2021-07-10 19:17:05 +10:00
lang.py uppercase ru/uk 2021-07-11 23:06:47 +10:00
latex.py split out remaining tags, stats, media and rendering 2021-07-10 23:16:18 +10:00
links_pb2.pyi Switch frontend to use backend links 2021-07-22 10:07:13 +02:00
media_pb2.pyi split out remaining tags, stats, media and rendering 2021-07-10 23:16:18 +10:00
media.py move from Python's URI escaping to IRI escaping in Rust 2021-07-16 10:38:00 +10:00
models.py Skip new notetype checks when importing apkg 2021-07-28 21:46:51 +02:00
notes_pb2.pyi split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
notes.py support updating multiple notes in one transaction/undo op 2021-08-02 17:07:26 +10:00
notetypes_pb2.pyi split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
py.typed mark anki and aqt modules as having typing info 2020-01-13 13:03:37 +10:00
rsbackend.py fix rsbackend compat issues 2021-02-08 09:51:51 +10:00
scheduler_pb2.pyi split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
search_pb2.pyi split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
sound.py support speed control in tts tags 2020-01-26 14:31:07 +10:00
stats_pb2.pyi split out remaining tags, stats, media and rendering 2021-07-10 23:16:18 +10:00
stats.py move proto files into separate py_library in same namespace 2021-07-11 14:51:25 +10:00
statsbg.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
stdmodels.py move proto files into separate py_library in same namespace 2021-07-11 14:51:25 +10:00
storage.py storage->collection 2020-05-20 17:58:28 +10:00
sync_pb2.pyi split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
sync.py split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
tags_pb2.pyi split out remaining tags, stats, media and rendering 2021-07-10 23:16:18 +10:00
tags.py add basic tag completion to backend 2021-09-09 15:38:08 +02:00
template.py split out remaining tags, stats, media and rendering 2021-07-10 23:16:18 +10:00
types.py add missing copyright headers to *.py 2021-04-13 18:45:35 +10:00
utils.py move+rename deprecated decorators to _legacy.py 2021-06-26 15:50:19 +10:00
wheel_description.txt move aqt_data into source folder; implement wheel building 2020-11-04 12:14:03 +10:00