mirror of
https://github.com/ankitects/anki.git
synced 2026-05-19 01:26:46 +00:00
Anki is a smart spaced repetition flashcard program
https://apps.ankiweb.net
<!-- Title (for the Pull Request title field at the top): Use a short prefix so the change type is obvious. You do not need to repeat it in the body below. Examples: - fix: — bugfix - feat: — feature - refactor: — internal change without user-facing feature - docs: — documentation only - chore: — tooling, CI, deps, build housekeeping - test: — tests only --> ## Linked issue (required) Fixes #4716 ## Summary / motivation (required) #4435 made it so that all new added media would have lowercased names, but this was bugged and led to media refs pointing to inexistent files on case-insensitive filesystems The fix proposed is to try adding new files with lowercased names only if they don't already exist, using the existing file otherwise ## Steps to reproduce (required, use N/A if not applicable) See linked issue ## How to test (required) Try copy-pasting a media file from the Edit window of an existing note to the Add window and see that the filename in the resulting media ref isn't forced to be lowercased When pasting a new file, see that the filename is now lowercased ### Checklist (minimum) - [x] I ran `./ninja check` or an equivalent relevant check locally. - [ ] I added or updated tests when the change is non-trivial or behavior changed. ## Scope - [x] This PR is focused on one change (no unrelated edits). |
||
|---|---|---|
| .cargo | ||
| .config | ||
| .cursor/rules | ||
| .github | ||
| .idea.dist | ||
| .vscode.dist | ||
| build | ||
| cargo | ||
| docs | ||
| ftl | ||
| proto | ||
| pylib | ||
| python | ||
| qt | ||
| rslib | ||
| tools | ||
| ts | ||
| .deny.toml | ||
| .dockerignore | ||
| .dprint.json | ||
| .eslintrc.cjs | ||
| .gitattributes | ||
| .gitignore | ||
| .gitmodules | ||
| .mypy.ini | ||
| .pre-commit-config.yaml | ||
| .prettierrc | ||
| .python-version | ||
| .readthedocs.yaml | ||
| .ruff.toml | ||
| .rustfmt-empty.toml | ||
| .rustfmt.toml | ||
| .version | ||
| .yarnrc.yml | ||
| Cargo.lock | ||
| Cargo.toml | ||
| check | ||
| CLAUDE.md | ||
| CONTRIBUTORS | ||
| justfile | ||
| LICENSE | ||
| ninja | ||
| package.json | ||
| pyproject.toml | ||
| README.md | ||
| release.just | ||
| run | ||
| run.bat | ||
| rust-toolchain.toml | ||
| SECURITY.md | ||
| uv.lock | ||
| yarn | ||
| yarn.bat | ||
| yarn.lock | ||
Anki
This repo contains the source code for the computer version of Anki.
About
Anki is a spaced repetition program. Please see the website to learn more.
This repo contains the source code for the computer version of Anki.
Getting Started
Contributing
Want to contribute to Anki? Check out the Contribution Guidelines.
For more information on building and developing, please see Development.
Contributors
The following people have contributed to Anki: CONTRIBUTORS
Anki Betas
If you'd like to try development builds of Anki but don't feel comfortable building the code, please see Anki betas.
License
Anki's license: LICENSE