Chocobozzz
f8360396ff
Stop using tsconfig register
Prefer to replace paths at compile time
5 months ago
lutangar
b8fa3e8c73
refactor(types): create dedicated folder for types package src
fix guide examples and add types package readme
refactor(tsconfig): move back base tsconfig to base directory
7 months ago
lutangar
8b03e2ce1a
feat(types): create peertube-types package
Create dedicated Typescript "types" configuration file for each "projects".
Create a types folder which includes every useful ts definition:
- client
- server
- shared
Add tooling to create a proper package, extract dependencies, etc...
Add CI Github task.
refactor(types): publish types package in release script
7 months ago
lutangar
06aad80165
chore(refactor): remove shared folder dependencies to the server
Many files from the `shared` folder were importing files from the `server` folder.
When attempting to use Typescript project references to describe dependencies,
it highlighted a circular dependency beetween `shared` <-> `server`.
The Typescript project forbid such usages.
Using project references greatly improve performance by rebuilding only
the updated project and not all source files.
> see https://www.typescriptlang.org/docs/handbook/project-references.html
7 months ago
Chocobozzz
e874edd9f8
forceConsistentCasingInFileNames to true
10 months ago
Chocobozzz
41fb13c330
esModuleInterop to true
10 months ago
Chocobozzz
0c1a77e9cc
Introduce abuse command
11 months ago
Chocobozzz
07aea1a264
Use TS_NODE_FILES instead of --files
Because --files does not work
2 years ago
Chocobozzz
c24aac6bc7
Fix tests
2 years ago
Chocobozzz
26d6bf6533
Split types and typings
2 years ago
Chocobozzz
e0ef8dab28
Use tslib in server
2 years ago
Chocobozzz
fc8aabd0bf
parseQueryStringFilter cleanup
2 years ago
Chocobozzz
d7a25329f9
Add ability to disable webtorrent
In favour of HLS
2 years ago
Chocobozzz
d5d9b6d7bf
Update server dependencies
2 years ago
Chocobozzz
6f1b4fa417
Add auto follow instances index support
2 years ago
Chocobozzz
8424c4026a
Add auto follow back support for instances
2 years ago
Chocobozzz
453e83ea5d
Stronger model typings
2 years ago
Chocobozzz
7e9d3f259d
Move CLI dependencies in their own package.json
3 years ago
Chocobozzz
dae86118ed
Cleanup express locals typings
3 years ago
Rigel Kent
8704acf49e
one cli to unite them all
Ash nazg thrakatulûk agh burzum-ishi krimpatul
- refactor import-videos to use the youtubeDL helper
- add very basic tests for the cli
3 years ago
Chocobozzz
fbad87b047
Add ability to import video with youtube-dl
3 years ago
Rigel Kent
966eb05313
feature: initial syndication feeds tests for instance-wide feeds
4 years ago
Chocobozzz
ecb4e35f4e
Add ability to reset our password
4 years ago
Chocobozzz
f6a043df74
Improve video upload guard a little bit
4 years ago
Chocobozzz
94a5ff8a4a
Move job queue to redis
We'll use it as cache in the future.
/!\ You'll loose your old jobs (pending jobs too) so upgrade only when
you don't have pending job anymore.
4 years ago
Chocobozzz
3fd3ab2d34
Move models to typescript-sequelize
4 years ago
Chocobozzz
0e1dc3e7c6
Convert tests to typescript
4 years ago
Chocobozzz
65fcc3119c
First typescript iteration
5 years ago