1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 10:49:28 +02:00
Commit graph

18 commits

Author SHA1 Message Date
Chocobozzz
5e041ff7c2
Migrate to standalone components 2024-03-04 16:35:23 +01:00
Chocobozzz
77b70702d2
Add video chapters support 2023-08-28 16:17:31 +02:00
Chocobozzz
c5f8dc0533
Correctly truncate HTML
We can because we don't use the video truncated description since v5.0
2023-08-17 14:34:49 +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
d430862f00
Force ltr on code inputs 2023-07-19 11:22:05 +02:00
Chocobozzz
cb38c9b9ea
Fix broadcast message inconsistency with preview 2023-02-13 14:37:13 +01:00
Chocobozzz
6a056bbe4d
Increase textarea debounce time for custom markup 2023-01-13 09:30:47 +01:00
Chocobozzz
0e45e336f6
Fix HTML in account/channel description 2022-11-14 10:47:39 +01:00
Chocobozzz
9bc3622320
Handle input error in markdown textarea 2022-06-20 15:56:16 +02:00
Chocobozzz
3031971ec2
Less complicated markdown textarea CSS 2022-06-20 15:16:26 +02:00
Jelle Besseling
8d8a037e3f
Allow configuration to be static/readonly (#4315)
* Allow configuration to be static/readonly

* Make all components disableable

* Improve disabled component styling

* Rename edits allowed field in configuration

* Fix CI
2021-10-12 13:33:44 +02:00
Chocobozzz
9fb2ed5f83
Remove useless assignment 2021-10-11 14:40:00 +02:00
Chocobozzz
9162fdd363
Refactor video links building 2021-07-26 14:12:50 +02:00
Chocobozzz
2539932e16
Instance homepage support (#4007)
* Prepare homepage parsers

* Add ability to update instance hompage

* Add ability to set homepage as landing page

* Add homepage preview in admin

* Dynamically update left menu for homepage

* Inject home content in homepage

* Add videos list and channel miniature custom markup

* Remove unused elements in markup service
2021-05-27 15:59:55 +02:00
kimsible
01d0147ef5 Add tooltip to maximize button and remove grey background 2020-11-22 01:15:38 +01:00
kimsible
aa9cf3b98d Disable auto-focus markdown textarea on touchdevices 2020-11-18 09:08:21 +01:00
kimsible
363726fe9a Memorize scroll position when maximized mode used with markdown textarea 2020-11-18 09:08:21 +01:00
Chocobozzz
67ed6552b8 Reorganize client shared modules 2020-06-23 16:00:49 +02:00
Renamed from client/src/app/shared/forms/markdown-textarea.component.ts (Browse further)