Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | refactor(treewide): Conform to `cargo clippy` | Benedikt Peetz | 2024-08-25 |
| | |||
* | fix(storage/extractor_hash): Remove useless logs | Benedikt Peetz | 2024-08-25 |
| | |||
* | fix(storage/database): Already borrow the `VideoStatus::ALL` constant | Benedikt Peetz | 2024-08-24 |
| | |||
* | test(storage/setters): Assert the video status in `set_video_watched` | Benedikt Peetz | 2024-08-24 |
| | |||
* | feat(select/cmds): Add a `watched` command | Benedikt Peetz | 2024-08-24 |
| | | | | | Otherwise, running `yt select file --done` would mark all your already wached stuff to be watched again. | ||
* | style(treewide): Format | Benedikt Peetz | 2024-08-23 |
| | |||
* | fix(storage/setters): Enforce status invariants | Benedikt Peetz | 2024-08-23 |
| | |||
* | feat(treewide): Use a configuration file | Benedikt Peetz | 2024-08-23 |
| | | | | | | This allows use to avoid duplication of default values in the codebase and obviously also facilitates changing these without having to re-compile. | ||
* | refactor(storage/downloader): Remove unused `get_next_video_watchable` | Benedikt Peetz | 2024-08-23 |
| | |||
* | fix(storage/downloader): Sort the next videos to be downloaded like in the ↵ | Benedikt Peetz | 2024-08-23 |
| | | | | selection file | ||
* | fix(storage/schema.sql): Tell SQLite to perform type-checking | Benedikt Peetz | 2024-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 Peetz | 2024-08-22 |
| | |||
* | fix(storage/setters): Avoid writing a literal "NULL" string into the db | Benedikt Peetz | 2024-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 panic | Benedikt Peetz | 2024-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 Peetz | 2024-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 size | Benedikt Peetz | 2024-08-22 |
| | |||
* | chore: Initial Commit | Benedikt Peetz | 2024-08-21 |
This repository was migrated out of my nixos-config. |