about summary refs log tree commit diff stats
path: root/src/storage (follow)
Commit message (Collapse)AuthorAge
* fix(storage/schema.sql): Tell SQLite to perform type-checkingBenedikt Peetz2024-08-22
| | | | | | Otherwise, SQLite tries to “coerce” types into fitting in the “preferred” type of the table. Now SQLite actually refuses to accept a type mismatch.
* refactor(storage/getters): Inline an Option re-creation with `map`Benedikt Peetz2024-08-22
|
* fix(storage/setters): Avoid writing a literal "NULL" string into the dbBenedikt Peetz2024-08-22
| | | | | | Sqlx supports turning an option to a NULL insertion, but trying to insert a string, containing "NULL", will result in this literal string being written to the database.
* refactor(storage): Make all URL parsings panicBenedikt Peetz2024-08-22
| | | | | | These URLs should be checked *before* they are written to the database, thus being unable to decode them after they've been read from the database is an application bug and not a user input issue.
* fix(storage/get_videos): Also order by `publish_date`Benedikt Peetz2024-08-22
| | | | | All freshly added videos have a priority of 0. To ensure that they are still ordered, also sort by `publish_date`.
* feat(download): Support limiting the downloader by maximal cache sizeBenedikt Peetz2024-08-22
|
* chore: Initial CommitBenedikt Peetz2024-08-21
This repository was migrated out of my nixos-config.