Commit Graph
26 Commits
Author SHA1 Message Date
Chocobozzz 408ee5450a Remove unused verbose option 2026-07-13 14:01:17 +02:00
Chocobozzz 0f76b76292 Fix exports 2026-07-13 14:01:17 +02:00
Chocobozzz 2df309a4c0 Fix adding/removing instances
Correctly re-set the default instance
Don't remove other instances
2026-07-13 14:01:17 +02:00
Chocobozzz 55beb53aa8 Publish CLI 1.2.0 2026-06-11 11:01:20 +02:00
Chocobozzz 809eb622b2 Use default server values if not provided by CLI 2026-04-22 14:28:50 +02:00
Chocobozzz 46b0a3766b Compile source files
To automatically rebuild on internal dep change
2026-04-22 14:28:06 +02:00
Chocobozzz 9e562b9437 oxlint migration for server 2026-03-26 15:15:36 +01:00
Chocobozzz fb85300eeb PeerTube CLI 1.1.0 2026-02-26 14:06:03 +01:00
Chocobozzz 4bb710400d Migrate peertube-cli to tsdown 2026-02-26 12:08:12 +01:00
Chocobozzz 3a87271e58 Update all project dependencies 2026-02-24 15:14:26 +01:00
Chocobozzz 526f1c6df5 Rebuild thumbnail and media file architecture
* Move to sharp library to improve image manipulation performance and
   support more image formats
 * Move video previews in thumbnails directory
 * Deprecate lazy static previews endpoint
 * Plugin `getFiles()` API now includes a `width`/`height` attribute
 * Deprecate previewfile for video publication/update.
   Use `thumbnailfile` instead
 * Deprecate `thumbnailPath` and `previewPath` of `Video` in favour of
   `thumbnails`
 * Deprecate `thumbnailPath` of `VideoPlaylist` in favour of
   `thumbnails`
 * Replace `torrentPath` by `torrentFilename` and `torrentStream` for
   remote torrents for `filter:api.download.torrent.allowed.result`
   plugin filter
 * Remove useless `fileUrl` from `UserExport` and `VideoSource`
 * Remove remote captions where we don't have a valid URL
 * cache directory is not deleted on each run anymore
 * Add permanent cache for video captions and storyboards
 * Remove `cache` admin configuration, use house-keeping script instead
2026-02-13 06:20:56 +01:00
Chocobozzz d68dfe349a Remove some FIXME 2025-11-17 10:10:49 +01:00
Chocobozzz db1dfc6756 Painfully upgrade dependencies 2025-11-14 14:52:17 +01:00
Chocobozzz 906b5f7f2c Migrate to pnpm 2025-09-12 08:43:41 +02:00
Chocobozzz 32fbe20b13 Update CLI version 2025-07-18 09:14:51 +02:00
Chocobozzz ca2c6139ef Improve error handling message 2025-05-26 09:35:16 +02:00
Chocobozzz 034e1bf328 Migrate eslint to v9 2025-05-07 15:49:23 +02:00
Chocobozzz 0130fb4664 Node 20 required for PeerTube tools too 2025-02-05 08:52:24 +01:00
Chocobozzz 40ac4ce3da Fix redundancy CLI 2025-01-31 14:04:22 +01:00
Chocobozzz c7a7e49dd0 CLI dep maintenance upgrade 2024-11-25 10:07:29 +01:00
Chocobozzz 4f4d3adf73 Update apps dependencies 2024-06-21 14:49:17 +02:00
Chocobozzz 29329d6c45 Implement auto tag on comments and videos
* Comments and videos can be automatically tagged using core rules or
   watched word lists
 * These tags can be used to automatically filter videos and comments
 * Introduce a new video comment policy where comments must be approved
   first
 * Comments may have to be approved if the user auto block them using
   core rules or watched word lists
 * Implement FEP-5624 to federate reply control policies
2024-05-29 15:03:14 +02:00
Chocobozzz 473840e890 Update apps versions 2024-02-23 15:49:09 +01:00
Chocobozzz 1e17dece73 Update peertube-cli dependencies 2024-02-23 15:23:53 +01:00
Chocobozzz 780f17f116 Fix upload script preview short option 2024-02-22 10:07:03 +01:00
Chocobozzz 3a4992633e Migrate server to ESM
Sorry for the very big commit that may lead to git log issues and merge
conflicts, but it's a major step forward:

 * Server can be faster at startup because imports() are async and we can
   easily lazy import big modules
 * Angular doesn't seem to support ES import (with .js extension), so we
   had to correctly organize peertube into a monorepo:
    * Use yarn workspace feature
    * Use typescript reference projects for dependencies
    * Shared projects have been moved into "packages", each one is now a
      node module (with a dedicated package.json/tsconfig.json)
    * server/tools have been moved into apps/ and is now a dedicated app
      bundled and published on NPM so users don't have to build peertube
      cli tools manually
    * server/tests have been moved into packages/ so we don't compile
      them every time we want to run the server
 * Use isolatedModule option:
   * Had to move from const enum to const
     (https://www.typescriptlang.org/docs/handbook/enums.html#objects-vs-enums)
   * Had to explictely specify "type" imports when used in decorators
 * Prefer tsx (that uses esbuild under the hood) instead of ts-node to
   load typescript files (tests with mocha or scripts):
     * To reduce test complexity as esbuild doesn't support decorator
       metadata, we only test server files that do not import server
       models
     * We still build tests files into js files for a faster CI
 * Remove unmaintained peertube CLI import script
 * Removed some barrels to speed up execution (less imports)
2023-08-11 15:02:33 +02:00