Commit Graph

3169 Commits

Author SHA1 Message Date
Chocobozzz 275ba643eb
Simplify two columns layout 2024-03-01 15:01:34 +01:00
Chocobozzz b00180744c
Add info about video history import/export 2024-02-28 16:53:22 +01:00
Chocobozzz aff87c12ff
Typo 2024-02-28 14:54:52 +01:00
Chocobozzz cf60f7af03
Add ability to add playlist from my videos 2024-02-28 09:44:43 +01:00
Chocobozzz dee2e66e02
Fix search channel avatar size 2024-02-27 17:13:49 +01:00
Chocobozzz 91d7a3928f
Use video ratio for responsive embeds 2024-02-27 16:31:57 +01:00
Chocobozzz dfe98695d6
Use server video ratio if available 2024-02-27 16:24:48 +01:00
Chocobozzz 206fe1de0e
Fix actor avatar sizes 2024-02-27 16:05:34 +01:00
Chocobozzz b6b1aaa56f
Add video aspect ratio in server 2024-02-27 15:24:34 +01:00
Chocobozzz 5f3009d8e9
Add player when the video is not loaded yet 2024-02-26 16:19:25 +01:00
Chocobozzz 878ea1499d
Add missing i18n tag 2024-02-26 16:14:44 +01:00
Chocobozzz c2c2cd4121
Warn if forgot password email contains uppercase 2024-02-26 15:01:56 +01:00
Chocobozzz f978e52edc
Fix close modal icon position 2024-02-26 15:01:48 +01:00
Chocobozzz 109e93c139
Generate 600x600 and 1500x1500 avatars 2024-02-26 15:00:22 +01:00
Chocobozzz bb7cb0d2fd
Add ability to set avatar to instance 2024-02-23 14:27:11 +01:00
Chocobozzz 007b845cab
Add banner info 2024-02-22 11:49:29 +01:00
Chocobozzz 9e2700b89d
Fix lint 2024-02-22 10:32:28 +01:00
Chocobozzz d7edb2f8fe
Update client dependencies 2024-02-21 16:23:37 +01:00
Chocobozzz 0648d57870
Add total video file size column in users list 2024-02-21 15:28:38 +01:00
Chocobozzz db69d9491e
Add abuse and registration requests stats 2024-02-21 14:57:20 +01:00
Chocobozzz 8c3cb7e083 Add user import info in feature table 2024-02-21 13:49:08 +01:00
Chocobozzz 3cac8a756f Fix lint, tests and styling 2024-02-21 13:49:08 +01:00
Chocobozzz f9c89b98f7 Add user import/export in client 2024-02-21 13:49:08 +01:00
Chocobozzz 4d63e6f577
Add banner on register page too 2024-02-20 14:43:49 +01:00
Chocobozzz 93f9677463
Add instance banner on login page 2024-02-20 14:34:33 +01:00
Chocobozzz 7ee0efb57a
Add ability to set a banner to the instance 2024-02-20 11:33:10 +01:00
Chocobozzz ebe828ec75
Fix displaying autoblock messages 2024-02-19 14:26:17 +01:00
Chocobozzz cb23087ff5
More robust avatar finder 2024-02-16 10:24:02 +01:00
Chocobozzz 48f1d4b186
More robust channel sync 2024-02-16 10:14:12 +01:00
Chocobozzz 1387e0a3bb
It's 2024! 2024-02-16 08:58:29 +01:00
Chocobozzz a53834bdff
Improve channel text fading 2024-02-15 16:38:38 +01:00
Chocobozzz f49896f44e
Use more precise save label in my account settings 2024-02-15 16:33:19 +01:00
Chocobozzz 098c25ece6
Do not display empty notification settings group 2024-02-15 16:30:53 +01:00
Chocobozzz b13e81e43f
Moderators can approve registrations 2024-02-15 16:26:19 +01:00
Chocobozzz 26fb3ee660
Fix account channels page
With high max channels per user peertube config
2024-02-15 14:47:49 +01:00
Chocobozzz 331e7cb3c5
Trim username on login
User username of email address can't have a space so it's safe to trim
the input (extra space can be easily added by pastes in some cases)
2024-02-15 14:12:56 +01:00
Chocobozzz a012d6c2a9
Add notification on subscription live stream 2024-02-15 14:06:25 +01:00
Wicklow ffd9bf1c8b
Add ability to download videos from my videos page (#6008)
* Fix object storage download

* Add ability to download videos from my videos page

* Updated code based on review comments

* Styling

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
2024-01-12 15:29:07 +01:00
Chocobozzz 9e9a00d7f8
Fix video timestamp linkify 2024-01-11 10:47:36 +01:00
Chocobozzz 0461ce8d24
Fix videos list pagination 2024-01-11 10:22:36 +01:00
Chocobozzz b9e11ea213
Prevent displaying multiple times channels 2024-01-11 10:08:10 +01:00
Chocobozzz b68d2b0698
Improve video import notification 2024-01-08 10:01:30 +01:00
Chocobozzz d1adcfadfd
Update angular to v17 2024-01-05 10:47:14 +01:00
Chocobozzz 0a53a54ed7
Merge branch 'release/6.0.0' into develop 2024-01-03 15:26:22 +01:00
Chocobozzz d7804627c2
Fix chapter position width consistency 2024-01-03 11:12:12 +01:00
Chocobozzz 3608eb4f1e
Fix input mask with 10h+ videos 2024-01-03 11:10:41 +01:00
Chocobozzz 4cbea51255
Add subdivision to viewer stats 2023-12-28 09:56:05 +01:00
Chocobozzz 4437ae0fd3
Add FEP-2677 tests 2023-12-27 16:18:18 +01:00
Chocobozzz b9077c83fc
Add ability to disable storyboards 2023-12-27 10:39:09 +01:00
Chocobozzz 482223cc23
Merge branch 'release/6.0.0' into develop 2023-12-22 09:50:20 +01:00
Chocobozzz b25a6d0560
Fix theme colors on stats page 2023-12-22 09:49:59 +01:00
FediThing cbe57fa266 Update video-watch.component.html
Tweaked error message so that users realise that refreshing the page may help the video to load properly.
2023-12-20 15:26:26 +01:00
Chocobozzz b6b50bf0b4
Use new plugin index sort and recommended tags 2023-12-20 10:55:47 +01:00
Chocobozzz fe37e5232b
Add ability to customize views/playback interval 2023-12-20 10:55:47 +01:00
Chocobozzz bca6d58676
Automatically filter on local videos in admin
We expect admins will mostly want to act on local videos
2023-12-20 10:55:47 +01:00
Chocobozzz bd1dd8fd95
Reload overviews page on logout 2023-12-15 11:23:03 +01:00
Chocobozzz 5ca370e395
Fix lint 2023-12-08 14:04:20 +01:00
Chocobozzz ba050fb0df
Fix displaying many countries 2023-12-08 11:07:49 +01:00
Chocobozzz 8031504212
Fix updating started live error 2023-12-08 10:20:15 +01:00
Chocobozzz 83cba14a61
Originally published and reupload date consistency 2023-12-08 08:59:47 +01:00
Chocobozzz 4826cb2c69
Add missing jobs in jobs list 2023-11-29 09:37:57 +01:00
Chocobozzz 13b78db38e
Cleanup input switch 2023-11-27 10:11:29 +01:00
Chocobozzz f3907ceeaf
Fix client registration performance 2023-11-27 09:15:42 +01:00
Chocobozzz 05d6520b22
Fix input switch accessibility 2023-11-27 08:37:20 +01:00
Chocobozzz 6349881dbd
Fix graph zooming end date 2023-11-23 09:40:04 +01:00
Chocobozzz 80efccf6c5
Add autofocus to password prompt 2023-11-23 08:58:53 +01:00
Chocobozzz 4c07200d64
CSS consistency on small screens 2023-11-22 08:28:22 +01:00
Chocobozzz 92fb7a2b62
Optimize homepage videos query 2023-11-17 14:40:37 +01:00
Chocobozzz c2cf26eaf7
Less space below player in portrait mode 2023-11-09 09:03:32 +01:00
Sarah Lewis adfce264a6
Improve grammar within sign-up flow (#6026)
* Update signup-success-after-email.component.html

* Update signup-success-before-email.component.html
2023-11-09 06:41:03 +01:00
Chocobozzz 7ca4de2d98
Update page title and description on video change 2023-11-08 16:03:49 +01:00
Chocobozzz dbd0a3bcac
Fix player ratio on mobile with portrait videos 2023-11-08 15:56:56 +01:00
Chocobozzz 6e613df63f
Fix notification scrolling 2023-11-07 11:19:36 +01:00
Chocobozzz 4aeb1de909
Update p2p media loader 2023-11-06 11:20:23 +01:00
Chocobozzz d3c9a2e5b9
Add script to move videos to file system 2023-11-02 09:21:49 +01:00
Chocobozzz 543fbd1ffe
Correctly display broken muxing session
Can happen when we stream an audio stream only
2023-10-30 11:57:39 +01:00
Chocobozzz a12d94f30d
Fix live start time
Use undefined to not break live edge position set by hls.js
2023-10-30 11:04:26 +01:00
Chocobozzz 22e05d15db
Fix video error handling 2023-10-30 09:55:06 +01:00
Chocobozzz 2809ebbc20
Fix playlist element title overflow 2023-10-27 11:27:10 +02:00
Chocobozzz 3bd4637014
Also skip count for recommendation fallback 2023-10-26 14:50:20 +02:00
Chocobozzz f9bbcd4ba2
Fix stats X axis with old videos 2023-10-26 14:43:50 +02:00
Chocobozzz 360439088d
Skip counting for recommended videos 2023-10-25 14:55:06 +02:00
Chocobozzz 8e15a31e98
Fix overflow on videos list pages 2023-10-20 16:00:36 +02:00
Chocobozzz c6d2384aa7
Fix global buttons accessibility 2023-10-12 15:01:17 +02:00
Chocobozzz d3ae2e9c80
Fix feed button 2023-10-12 14:24:48 +02:00
Chocobozzz ce3d17388d
Fix remove file buttons accessibility 2023-10-12 14:24:38 +02:00
Chocobozzz e94160c770
Fix playlist buttons accessibility 2023-10-12 14:24:22 +02:00
Chocobozzz a1c96a63a0
Better videos list header styling 2023-10-12 09:06:40 +02:00
Chocobozzz 13f07161f5
Do not display only "Older" period 2023-10-11 11:56:03 +02:00
Chocobozzz e2c7e58f42
Fix input switch accessibility 2023-10-11 11:49:15 +02:00
Chocobozzz 30ad7fdf69
Upgrade client dependencies 2023-10-11 11:42:57 +02:00
Chocobozzz 066efd4b94
Add tooltip to know we can sort the column 2023-10-11 09:20:09 +02:00
Chocobozzz 58036ff463
Fix focus on table header cell with sort 2023-10-10 10:56:25 +02:00
Chocobozzz bc80e45a09
Fix table expand button accessibility 2023-10-10 09:16:33 +02:00
Chocobozzz cf5ab8abf2
Add focus to important elements with tooltip 2023-10-10 09:04:56 +02:00
Chocobozzz 57abac459b
Fix registration button style 2023-10-10 08:41:35 +02:00
Chocobozzz 905a40217d
Fix logged in hotkeys 2023-10-10 08:35:53 +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 e6b455b4ea
Better title for the date component 2023-10-09 10:19:06 +02:00
Chocobozzz 9b879f69c4
Fix video playlist miniature tabindex 2023-10-09 10:09:17 +02:00
Chocobozzz f47762c60b
Add global skip link
Don't use routerLink as some pages react on route params changes
Prefer to programmatically focus the main content if we can
2023-10-09 10:07:03 +02:00
Chocobozzz bd4b321b0b
Add missing autocomplete fields 2023-10-09 09:50:59 +02:00
Chocobozzz 31a67bc620
Add placeholder to contact email input 2023-10-09 09:49:07 +02:00
Chocobozzz 62dd3ad573
Explain the filter button will close the filters 2023-10-09 09:41:54 +02:00
Chocobozzz be42d9a2b4
Add radiogroup role 2023-10-09 09:38:08 +02:00
Chocobozzz f84002001a
Fix search input accessibility label 2023-10-09 09:28:58 +02:00
Chocobozzz 28af325f99
Fix x overflow for search results 2023-10-09 09:21:43 +02:00
Chocobozzz a41c908370
Improve simple/advanced search accessibility 2023-10-06 16:42:06 +02:00
Chocobozzz 52319e371f
Fix top sub menu accessibility 2023-10-06 14:56:29 +02:00
Chocobozzz 8d20c8f391
Prevent setting color attribute on loading bar
Fire accessibility/HTML guidelines warnings/errors
2023-10-06 11:29:13 +02:00
Chocobozzz 04bc2e2dbe
Use lists for the left menu 2023-10-06 11:23:12 +02:00
Chocobozzz dcf5075ae4
Use <header> and <main> 2023-10-06 10:47:39 +02:00
Chocobozzz 2861397f9d
Replace <menu> by <nav> for left menu 2023-10-06 10:45:42 +02:00
Chocobozzz 7938f1d5e6
Use h1 for hotkeys modal
And so hide what's behind the modal
2023-10-06 10:41:45 +02:00
Chocobozzz 1019aaf8e7
Avoid multiple <br /> tags 2023-10-06 10:29:42 +02:00
Chocobozzz 55d7e361f5
Add alert role to form error messages 2023-10-06 10:19:20 +02:00
Chocobozzz 54f16adca8
Add accessibility role to notification div 2023-10-06 10:17:44 +02:00
Chocobozzz 27243f96f1
Improve left menu toggle accessibility 2023-10-06 10:08:51 +02:00
Chocobozzz ce99886db6
Improve search bar accessibility
Also remove the "X" icon from Chrome we don't want
2023-10-06 09:59:21 +02:00
Chocobozzz c5397bd066
Fix broadcast dismiss icon accessibility 2023-10-05 16:30:08 +02:00
Chocobozzz 84bcfdaeff
Add scope="col" to column headers 2023-10-05 16:20:15 +02:00
Chocobozzz d6a31f9bef
Improve accessibility of empty column header 2023-10-05 16:13:12 +02:00
Chocobozzz 0ac3820f4d
Improve hotkeys popup accessibility 2023-10-05 15:56:36 +02:00
Chocobozzz 4d61e5ef9c
Improve video miniature link label accessibility 2023-10-05 15:43:24 +02:00
Chocobozzz f85ace9ebb
Improve alert links accessibility 2023-10-05 15:20:24 +02:00
Chocobozzz e5eefaf7a5
Use aria hidden for global icons
We use them in buttons/links that already have accessible context
(title, content or label) or just as decorative icons (in menu for
example)
2023-10-05 15:05:24 +02:00
Chocobozzz d0f8a0e677
Fix mime type handling from remote instances 2023-10-04 09:59:27 +02:00
Chocobozzz 5cea8f9567
Prevent remote subscribe on accounts
Which is not supported by PeerTube
2023-10-03 10:20:29 +02:00
Chocobozzz 77b70702d2
Add video chapters support 2023-08-28 16:17:31 +02:00
Chocobozzz 4d3ea87486
More robust about page
Don't throw if we can't find a category or a language
Can happen if the instance configuration contains a category/language
that has been deleted by a plugin for example
2023-08-21 15:32:33 +02:00
Chocobozzz 273d57023b
Update translations 2023-08-18 14:12:32 +02:00
Chocobozzz c74dc602a6
Simplify table pagination footer 2023-08-18 13:43:59 +02:00
Chocobozzz 863ef63805
Fix typo 2023-08-18 13:43:55 +02:00
Chocobozzz 7ace48819e
Add ability to reset originallyPublishedAt 2023-08-18 11:40:54 +02:00
Chocobozzz ca589b42f1
Fix button router link
Using the default one assigns the directive to the host, where we just
want to put it inside the `my-button` component
2023-08-18 11:09:34 +02:00
Chocobozzz 5f79f37d10
Remove useless information 2023-08-18 10:39:49 +02:00
Chocobozzz 8e4fba97b2
Automatically adapt player ratio 2023-08-18 09:48:45 +02:00
Chocobozzz 23092139a6
Better abuse style of removed videos 2023-08-17 14:34:49 +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 e390107e5a
Fix add to playlist button width 2023-07-28 15:55:49 +02:00
Chocobozzz f9ac050a35
Remove unnecessary workarounds
Has been fixed upstream
2023-07-28 15:46:14 +02:00
Chocobozzz 3193ac2c3b
Refactor a little bit nsfwPolicyToParam 2023-07-28 15:37:22 +02:00
Chocobozzz 65bb29c6d3
Remove unnecesary fixme/todo 2023-07-28 15:20:49 +02:00
Chocobozzz 2bfc8ce3d0
Remove unnecessary cast 2023-07-28 11:41:17 +02:00
Chocobozzz f932957b2e
Remove banner/avatar fields from channel/account
Deprecated since 4.2
2023-07-28 11:41:14 +02:00
Chocobozzz 89aa333110
Add ability to force transcoding 2023-07-28 11:09:03 +02:00
Chocobozzz f18003d0ac
Improve runner management
* Add ability to remove runner jobs
 * Add runner job state quick filter
 * Merge registration tokens and runners tables in the same page
 * Add copy button to copy registration token
2023-07-27 14:17:12 +02:00
Chocobozzz ec3228cae7
Fix playlist owner font size 2023-07-26 11:03:21 +02:00
Chocobozzz f42fcb4b58
Implement video file replacement in client 2023-07-25 11:53:08 +02:00