Anki/pylib/anki
Damien Elmes e97c381a6f Revert "stop (un)escaping media filenames"
This was flawed - while non-Latin text is now acceptable
in an IRI, we still need to be concerned with reserved characters
such as spaces, and Anki unfortunately has been storing the filenames
in unencoded form in the DB, meaning we must encode them at display
time. We won't be able to move away from this until existing notes
are rewritten, and it will probably require breaking compatibility with
older clients.

https://en.wikipedia.org/wiki/Internationalized_Resource_Identifier

This reverts commit 14110add55.
2021-07-16 10:37:59 +10:00
..
_backend configs.proto plural workaround no longer necessary 2021-07-11 19:35:18 +10:00
importing move proto files into separate py_library in same namespace 2021-07-11 14:51:25 +10: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 move proto files into separate py_library in same namespace 2021-07-11 14:51:25 +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.py split out cards and collection 2021-07-10 19:52:31 +10:00
cards_pb2.pyi split out cards and collection 2021-07-10 19:52:31 +10:00
collection.py configs.proto plural workaround no longer necessary 2021-07-11 19:35:18 +10:00
collection_pb2.pyi split out cards and collection 2021-07-10 19:52:31 +10:00
config.py configs.proto plural workaround no longer necessary 2021-07-11 19:35:18 +10:00
config_pb2.pyi 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.py split out decks, deckconfig, notes, notetypes 2021-07-10 20:44:22 +10:00
decks_pb2.pyi split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
errors.py simplify errors 2021-04-03 16:06:46 +10:00
exporting.py PEP8 collection.py 2021-06-27 15:12:22 +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.py add more typing, and enable checks for missing types for most of pylib 2021-01-31 21:38:36 +10:00
hooks_gen.py symlink generated .py/.pyi into tree to fix Python code completion 2020-12-16 11:36:42 +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
media.py Revert "stop (un)escaping media filenames" 2021-07-16 10:37:59 +10:00
media_pb2.pyi split out remaining tags, stats, media and rendering 2021-07-10 23:16:18 +10:00
models.py split out decks, deckconfig, notes, notetypes 2021-07-10 20:44:22 +10:00
notes.py split out decks, deckconfig, notes, notetypes 2021-07-10 20:44:22 +10:00
notes_pb2.pyi split out sync, search, scheduler & config 2021-07-10 21:33:12 +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.py move proto files into separate py_library in same namespace 2021-07-11 14:51:25 +10:00
stats_pb2.pyi split out remaining tags, stats, media and rendering 2021-07-10 23:16:18 +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.py split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
sync_pb2.pyi split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
tags.py split out remaining tags, stats, media and rendering 2021-07-10 23:16:18 +10:00
tags_pb2.pyi split out remaining tags, stats, media and rendering 2021-07-10 23:16:18 +10: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