Commit Graph

93 Commits (9e2700b89d6ab06cb404005f062ba7e5d9c7c341)

Author SHA1 Message Date
Chocobozzz 9e2700b89d
Fix lint 2024-02-22 10:32:28 +01:00
Chocobozzz db69d9491e
Add abuse and registration requests stats 2024-02-21 14:57:20 +01:00
Chocobozzz 83cba14a61
Originally published and reupload date consistency 2023-12-08 08:59:47 +01:00
Chocobozzz 05d6520b22
Fix input switch accessibility 2023-11-27 08:37:20 +01:00
Chocobozzz d3c9a2e5b9
Add script to move videos to file system 2023-11-02 09:21:49 +01:00
Chocobozzz 3bd4637014
Also skip count for recommendation fallback 2023-10-26 14:50:20 +02:00
Chocobozzz 360439088d
Skip counting for recommended videos 2023-10-25 14:55:06 +02:00
Chocobozzz c6d2384aa7
Fix global buttons accessibility 2023-10-12 15:01:17 +02:00
Chocobozzz e94160c770
Fix playlist buttons accessibility 2023-10-12 14:24:22 +02:00
Chocobozzz 30ad7fdf69
Upgrade client dependencies 2023-10-11 11:42:57 +02:00
Chocobozzz cf5ab8abf2
Add focus to important elements with tooltip 2023-10-10 09:04:56 +02:00
Chocobozzz 50e415e12e
Allow to disable all hotkeys
Added angular2-hotkeys dependency inside PeerTube, to tweak some
settings

It will also allow us to support non latin keyboard in the future as we
can choose the "mouse trap" dependency
2023-10-09 15:33:19 +02:00
Chocobozzz 55d7e361f5
Add alert role to form error messages 2023-10-06 10:19:20 +02:00
Chocobozzz 8e4fba97b2
Automatically adapt player ratio 2023-08-18 09:48:45 +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 3193ac2c3b
Refactor a little bit nsfwPolicyToParam 2023-07-28 15:37:22 +02:00
Chocobozzz f42fcb4b58
Implement video file replacement in client 2023-07-25 11:53:08 +02:00
Chocobozzz 8ece9c8ca0
Improve recommended videos without video tags 2023-07-19 13:24:31 +02:00
Chocobozzz a1bd2b77d9
Remove webtorrent support from client 2023-07-10 16:08:28 +02:00
Wicklow 40346ead2b
Feature/password protected videos (#5836)
* Add server endpoints

* Refactoring test suites

* Update server and add openapi documentation

* fix compliation and tests

* upload/import password protected video on client

* add server error code

* Add video password to update resolver

* add custom message when sharing pw protected video

* improve confirm component

* Add new alert in component

* Add ability to watch protected video on client

* Cannot have password protected replay privacy

* Add migration

* Add tests

* update after review

* Update check params tests

* Add live videos test

* Add more filter test

* Update static file privacy test

* Update object storage tests

* Add test on feeds

* Add missing word

* Fix tests

* Fix tests on live videos

* add embed support on password protected videos

* fix style

* Correcting data leaks

* Unable to add password protected privacy on replay

* Updated code based on review comments

* fix validator and command

* Updated code based on review comments
2023-06-29 09:48:55 +02:00
Chocobozzz f9735a9e88
Fix notification settings 2023-05-24 17:22:40 +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
Wicklow 2a4c0d8bbe
Feature/filter already watched videos (#5739)
* filter already watched videos

* Updated code based on review comments
2023-04-12 09:32:20 +02:00
Chocobozzz 3b504f6ed4
Add ability for plugins to alter video jsonld 2023-03-10 15:45:52 +01:00
Chocobozzz 4899138ec5
Add ability for plugins to add metadata 2023-03-10 15:45:52 +01:00
Chocobozzz 2729af6ddd
Fix action button height 2023-02-28 09:30:22 +01:00
Chocobozzz 3ebb2987c2
Fix buttons accessibility using keyboard 2023-02-20 12:09:54 +01:00
Chocobozzz 420a6043cc
Fix buttons CSS 2023-02-20 11:23:45 +01:00
Chocobozzz 6e060713b4
Correctly unsubscribe on menu destroy 2023-02-16 16:13:19 +01:00
Chocobozzz 72c98d189e
Correctly fix table column widths 2023-02-15 12:05:45 +01:00
Chocobozzz 6a7cea1527
Fix live update of autoplay next video 2023-02-15 11:32:08 +01:00
Chocobozzz 98bd5e2256
Refactor login redirection/button links
Correctly handle external auth redirection in all cases
2023-02-14 11:51:44 +01:00
Chocobozzz f713f36bdf
Federate entire description
Introduce an explicit field truncatedDescription
description in video list is deprecated
description in video get will contain the entire description
2022-11-14 13:03:54 +01:00
Chocobozzz 0e45e336f6
Fix HTML in account/channel description 2022-11-14 10:47:39 +01:00
treac1e b67580aa65 Update privacy-concerns.component.html
When translated, the white space after "Reminder:" is cut off, so in other languages there is no white space between the "Reminder:" and the following text, which looks ugly (e.g. in the German translation). A solution is to move the space behind the translated phrase (using the html-entity for space &#32).
2022-10-27 08:54:13 +02:00
Chocobozzz 5c5bcea2e6
Refactor form reactive 2022-10-07 15:26:53 +02:00
Chocobozzz 255c00305c
Fix error messages 2022-09-23 14:41:14 +02:00
Chocobozzz 9ca0f688e9
Add channel hooks 2022-08-03 10:39:40 +02:00
Chocobozzz 5a9a56b78f
Prevent error on highlighted thread 2022-07-29 10:32:56 +02:00
Chocobozzz d65cd16551
video-watch.video-threads.loaded after DOM loading 2022-07-22 15:31:37 +02:00
Chocobozzz 42b4063699
Add ability for client to create server logs 2022-07-18 11:37:18 +02:00
Chocobozzz a334597283
Theme fixes 2022-06-28 11:29:54 +02:00
Chocobozzz 88edc66eda
Optimize emoji markup list 2022-06-27 11:28:22 +02:00
Chocobozzz 87fdea2fbf
Refactor actor avatar component 2022-06-27 11:22:21 +02:00
Chocobozzz 7c07259ae5
Fix fetching unlisted video in client 2022-06-24 14:47:32 +02:00
Chocobozzz c4a051712b
Cleanup title-page CSS 2022-06-16 16:16:51 +02:00
Chocobozzz 5b0ec7cddb
Increase global font size 2022-06-16 11:37:08 +02:00
Chocobozzz b13a0a48ba
Move alert into to pt-alert-primary 2022-06-15 14:43:33 +02:00