Commit Graph

341 Commits (8388ec256f7753b02488788e3cfa771f6e1db247)

Author SHA1 Message Date
bashonly 0a3991edae
[devscripts] `make_changelog`: Parse full commit message for fixes ()
Authored by: Grub4K, bashonly

Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
bashonly c998238c2e
[cleanup] Misc ()
Closes 
Authored by: bashonly, KBelmin

Co-authored-by: Belminho <102482175+KBelmin@users.noreply.github.com>
bashonly d784464399
Remove Python 3.8 support ()
Closes 
Authored by: bashonly
bashonly ea9e35d85f
[cleanup] Misc ()
Authored by: bashonly
Simon Sawicki 67adeb7bab
[cleanup] Misc ()
- Add Python 3.13 to CI, finalize 3.13 support
- Remove Python 3.8 from CI in preparation for removing 3.8 support
- Document that PyPy3.8 and PyPy3.9 are no longer supported
- Usual documentation fixes and code cleanup

Closes , Closes , Closes , Closes 
Authored by: Grub4K, grqz, DTrombett, KarboniteKream, bashonly, mikkovedru, seproDev

Co-authored-by: N/Ame <173015200+grqz@users.noreply.github.com>
Co-authored-by: DTrombett <d@trombett.org>
Co-authored-by: =?UTF-8?q?Klemen=20Ko=C5=A1ir?= <klemen.kosir@kream.io>
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Co-authored-by: Mikko Vedru <mikko.vedru@gmail.com>
Co-authored-by: sepro <sepro@sepr0.com>
Simon Sawicki 16eb28026a
[test] Allow running tests explicitly ()
Authored by: Grub4K
Simon Sawicki 1a830394a2
[build] `make_lazy_extractors`: Force running without plugins ()
Authored by: Grub4K
bashonly 1a176d874e
[cleanup] Misc
Authored by: bashonly
bashonly cca534cd9e
Raise minimum recommended Python version to 3.9 ()
Authored by: bashonly
Simon Sawicki b6200bdcf3
[ci] Add comment sanitization workflow ()
Co-authored-by: bashonly <bashonly@protonmail.com>
Authored by: bashonly, Grub4K
bashonly ad9a8115aa
[ci] Add issue tracker anti-spam protection ()
Authored by: bashonly
bashonly b337d2989c
[cleanup] Misc ()
Authored by: bashonly
bashonly 93d33cb29a
[cleanup] Misc ()
Authored by: bashonly
Simon Sawicki 5ce582448e
[core] Disallow unsafe extensions (CVE-2024-38519)
Ref: https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-79w7-vh3h-8g4j

Authored by: Grub4K
bashonly 6aaf96a3d6
[cleanup] Misc ()
Closes 
Authored by: bashonly, seproDev, jucor, c-basalt

Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
Co-authored-by: Julien Cornebise <julien@cornebise.com>
Co-authored-by: c-basalt <117849907+c-basalt@users.noreply.github.com>
sepro add96eb9f8
[cleanup] Add more ruff rules ()
Authored by: seproDev

Reviewed-by: bashonly <88596187+bashonly@users.noreply.github.com>
Reviewed-by: Simon Sawicki <contact@grub4k.xyz>
bashonly ae2af1104f
[cleanup] Misc
Authored by: bashonly, seproDev, Grub4K
Simon Sawicki 5c019f6328
[misc] Cleanup ()
Closes 
Authored by: bashonly, seproDev, Grub4K

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
Simon Sawicki e897bd8292
[misc] Add `hatch`, `ruff`, `pre-commit` and improve dev docs ()
Authored by: bashonly, seproDev, Grub4K

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
Simon Sawicki ff07792676
[core] Prevent RCE when using `--exec` with `%q` (CVE-2024-22423)
The shell escape function now properly escapes `%`, `\\` and `\n`. `utils.Popen` as well as `%q` output template expansion have been patched accordingly.

Prior to this fix using `--exec` together with `%q` when on Windows could cause remote code to execute. See https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-hjq6-52gw-2g7p for more details.

Authored by: Grub4K
bashonly 216f6a3cb5
[cleanup] Misc ()
Authored by: bashonly, pukkandan
Leo Heitmann Ruiz df0e138fc0
[docs] Various manpage fixes
Authored by: leoheitmannruiz
pukkandan c305a25c1b
[cleanup] Standardize `import datetime as dt` ()
sepro 86e3b82261
[core] Fix `filesize_approx` calculation ()
Reverts 22e4dfacb6

Despite being documented as `Kbit/s`, the extractors/manifests were returning bitrates in SI units of kilobits/sec.

Authored by: seproDev, pukkandan
bashonly 58dd0f8d1e
[build] Optional dependencies cleanup ()
Authored by: bashonly
sepro 388c979ac6
[docs] Update yt-dlp tagline ()
Authored by: seproDev, bashonly, coletdjnz, Grub4K, pukkandan
bashonly 17b96974a3
[build] Update changelog for tarball and sdist ()
Closes 
Authored by: bashonly
pukkandan 615a84447e
[cleanup] Misc ()
Authored by: pukkandan, bashonly, seproDev
pukkandan ed3bb2b0a1
[cleanup] Remove unused code ()
Authored by: pukkandan, seproDev
bashonly cf91400a1d
[build] Add `default` optional dependency group ()
Authored by: bashonly, Grub4K

Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
bashonly b8a433aaca
[devscripts] `install_deps`: Add script and migrate to it
Authored by: bashonly
Simon Sawicki fd647775e2
[devscripts] `tomlparse`: Add makeshift toml parser
Authored by: Grub4K
Simon Sawicki f9fb3ce86e
[cleanup] Misc ()
Authored by: bashonly, pukkandan, seproDev, Grub4K

Co-authored-by: bashonly <bashonly@protonmail.com>
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
Simon Sawicki 225cf2b830
Fix 2d1d683a54
Authored by: Grub4K
Simon Sawicki 2d1d683a54
[devscripts] `run_tests`: Create Python script ()
Authored by: Grub4K
bashonly a9d3f4b20a
[cleanup] Fix changelog typo
Authored by: bashonly
Simon Sawicki b012271d01
[cleanup] Misc ()
Authored by: bashonly, coletdjnz, dirkf, gamer191, seproDev, Grub4K
bashonly a00af29853
[cleanup] Update documentation for master and nightly channels
Authored by: bashonly, Grub4K

Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
bashonly 1d03633c5a
[build] Overhaul and unify release workflow
Authored by: bashonly, Grub4K

Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
bashonly 700444c23d
[ci] Run core tests with dependencies
Authored by: bashonly, coletdjnz
Simon Sawicki de015e9307
[core] Prevent RCE when using `--exec` with `%q` (CVE-2023-40581)
The shell escape function is now using `""` instead of `\"`. `utils.Popen` has been patched to properly quote commands.

Prior to this fix using `--exec` together with `%q` when on Windows could cause remote code to execute. See https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-42h4-v29r-42qg for reference.

Authored by: Grub4K
Simon Sawicki 61bdf15fc7
[core] Raise minimum recommended Python version to 3.8 ()
Authored by: Grub4K
bashonly 5ca095cbcd
[cleanup] Misc ()
Closes , Closes 
Authored by: barsnick, sqrtNOT, gamer191, coletdjnz, Grub4K, bashonly
Simon Sawicki 30ba233d4c
[devscripts] `make_changelog`: Fix changelog grouping and add networking group ()
Authored by: Grub4K
Simon Sawicki 836e06d246
[core] Fix support for upcoming Python 3.12 ()
This also adds the following test runners:
- `3.12-dev` on `ubuntu-latest`
- `3.12-dev` on `windows-latest`
- `pypy-3.10` on `ubuntu-latest`

Authored by: Grub4K
pukkandan 62b5c94cad
[cleanup] Misc fixes
Closes 
pukkandan c365dba843
[networking] Add module ()
No actual changes - code is only moved around
pukkandan b532a34810
[docs] Minor fixes
Closes 
pukkandan 337734d4a8
[cleanup] Misc
pukkandan fa44802809
[devscripts/make_changelog] Skip reverted commits