Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Migrate server to ESM | Chocobozzz | 2023-08-11 | 1 | -220/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) | ||||
* | Move typescript utils in its own directory | Chocobozzz | 2021-12-16 | 1 | -1/+1 |
| | |||||
* | Stricter models typing | Chocobozzz | 2021-05-12 | 1 | -1/+2 |
| | |||||
* | Cleanup models directory organization | Chocobozzz | 2021-05-11 | 1 | -2/+2 |
| | |||||
* | Refactor auth flow | Chocobozzz | 2021-03-24 | 1 | -5/+6 |
| | | | | | Reimplement some node-oauth2-server methods to remove hacky code needed by our external login workflow | ||||
* | Upgrade sequelize to v6 | Chocobozzz | 2020-12-09 | 1 | -9/+8 |
| | |||||
* | Split types and typings | Chocobozzz | 2020-06-18 | 1 | -1/+1 |
| | |||||
* | Fix refresh token | Chocobozzz | 2020-05-07 | 1 | -3/+1 |
| | |||||
* | Add ability for auth plugins to hook tokens validity | Chocobozzz | 2020-05-04 | 1 | -22/+33 |
| | |||||
* | Support logout and add id and pass tests | Chocobozzz | 2020-05-04 | 1 | -0/+3 |
| | |||||
* | Move to eslintcontain | Chocobozzz | 2020-02-03 | 1 | -2/+2 |
| | |||||
* | Stronger model typings | Chocobozzz | 2019-08-19 | 1 | -10/+9 |
| | |||||
* | Upgrade sequelize | Chocobozzz | 2019-04-24 | 1 | -10/+12 |
| | |||||
* | Update sequelize | Chocobozzz | 2019-04-24 | 1 | -1/+1 |
| | |||||
* | Cleanup tests imports | Chocobozzz | 2018-11-19 | 1 | -2/+2 |
| | |||||
* | Check activities host | Chocobozzz | 2018-11-14 | 1 | -1/+1 |
| | |||||
* | Cache user token | Chocobozzz | 2018-09-20 | 1 | -1/+20 |
| | |||||
* | Limit associations fetch when loading token | Chocobozzz | 2018-09-20 | 1 | -8/+18 |
| | |||||
* | Implement user blocking on server side | Chocobozzz | 2018-08-08 | 1 | -3/+5 |
| | |||||
* | expliciting type checks and predicates (server only) | Rigel Kent | 2018-07-25 | 1 | -3/+6 |
| | |||||
* | Fix error logging | Chocobozzz | 2018-03-26 | 1 | -1/+1 |
| | |||||
* | Destroy user token when changing its role | Chocobozzz | 2018-01-23 | 1 | -0/+10 |
| | |||||
* | Propagate old comment on new follow | Chocobozzz | 2017-12-28 | 1 | -1/+1 |
| | |||||
* | Use sequelize scopes | Chocobozzz | 2017-12-14 | 1 | -30/+29 |
| | |||||
* | Move models to typescript-sequelize | Chocobozzz | 2017-12-13 | 1 | -130/+129 |
| | |||||
* | Cleanup models | Chocobozzz | 2017-11-27 | 1 | -20/+2 |
| | |||||
* | Remove references to author | Chocobozzz | 2017-11-27 | 1 | -2/+2 |
| | |||||
* | Add video channels | Chocobozzz | 2017-10-26 | 1 | -2/+22 |
| | |||||
* | Add previews cache system between pods | Chocobozzz | 2017-07-12 | 1 | -2/+2 |
| | |||||
* | Remove "function" in favor of () => {} | Chocobozzz | 2017-07-11 | 1 | -18/+21 |
| | |||||
* | Fix error logging | Chocobozzz | 2017-07-07 | 1 | -1/+1 |
| | |||||
* | Move to promises | Chocobozzz | 2017-07-05 | 1 | -3/+2 |
| | | | | Closes https://github.com/Chocobozzz/PeerTube/issues/74 | ||||
* | Reorganize model files | Chocobozzz | 2017-06-16 | 1 | -0/+160 |