Commit Graph

22 Commits (9e2700b89d6ab06cb404005f062ba7e5d9c7c341)

Author SHA1 Message Date
Chocobozzz f9c89b98f7 Add user import/export in client 2024-02-21 13:49:08 +01:00
Chocobozzz 55d7e361f5
Add alert role to form error messages 2023-10-06 10:19:20 +02: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
Chocobozzz ffc424259e
Fix scss lint 2023-05-25 14:36:17 +02:00
Chocobozzz 5490930428
Remove suppressImplicitAnyIndexErrors
It's deprecated by TS
2023-05-24 16:56:05 +02:00
Chocobozzz d0fbc9fd0a
Fix lint 2023-05-24 15:27:15 +02:00
Chocobozzz f3bc1b5416
Help button must not send the parent form 2023-05-22 11:13:01 +02:00
Chocobozzz 208c97e111
Always translate user role 2023-04-17 09:21:02 +02:00
Chocobozzz 16b7ad790b
Fix update user password confirm message 2023-03-07 10:18:32 +01:00
Chocobozzz 06a9fdf433
Better auto block bypass label 2023-01-27 09:03:27 +01:00
Chocobozzz 9e5cf66be7
Breaking API: Consistency with role id/label 2022-10-28 16:34:08 +02:00
Chocobozzz 8347f8a429
Add auto complete to user edit password 2022-10-10 15:39:27 +02:00
Chocobozzz 5c5bcea2e6
Refactor form reactive 2022-10-07 15:26:53 +02:00
Chocobozzz 2166c058f3
Allow admins to disable two factor auth 2022-10-07 14:28:35 +02:00
Chocobozzz 9c0cdc5047
Fix subscription button radius 2022-09-28 16:18:08 +02:00
Chocobozzz f67ac646a2 Put video quota info in its own component 2022-09-28 14:04:06 +02:00
Chocobozzz 75084782b7
Handle input error in custom input text 2022-06-20 16:42:21 +02:00
Chocobozzz 5b0ec7cddb
Increase global font size 2022-06-16 11:37:08 +02:00
Chocobozzz a70bf3bd33
Rename input toggle hidden to input text
It's more than just an hidden toggle
2022-06-10 15:58:38 +02:00
Chocobozzz 4c8749cb9e
Migrate to bootstrap 5 2022-06-10 09:21:00 +02:00
Chocobozzz d92d070c91
Split user service 2022-01-21 11:03:25 +01:00
Chocobozzz 00004f7f6b Put admin users in overview tab 2021-10-29 11:48:21 +02:00