Commit Graph

2911 Commits

Author SHA1 Message Date
Chocobozzz 3fca30a7ef
Force channel in my videos 2022-09-28 14:20:11 +02:00
Chocobozzz f67ac646a2 Put video quota info in its own component 2022-09-28 14:04:06 +02:00
The Cashew Trader b0d6a800f8 Add transcoding quota message to admin config page 2022-09-28 14:04:06 +02:00
Chocobozzz b105ea6042
Correctly unsubscribe upload events on destroy 2022-09-28 13:36:59 +02:00
kukhariev 9d84ac5ec1 fix: keep partially uploaded files
Do not delete a partially uploaded file when closing the upload page

fixes #5078, #4432
2022-09-28 11:56:14 +02:00
Chocobozzz 49aa917509
Merge branch 'release/4.3.0' into develop 2022-09-28 10:03:32 +02:00
Chocobozzz 718fc07953
Reword instance following title 2022-09-28 09:54:57 +02:00
Chocobozzz ca68986083
Merge branch 'release/4.3.0' into develop 2022-09-27 16:23:04 +02:00
Chocobozzz 52444ea13c
Fix moderation dropdown overflow on mobile 2022-09-27 10:35:51 +02:00
Chocobozzz 85edcb5626
Fix number with text input overflow 2022-09-27 10:05:29 +02:00
Chocobozzz 255c00305c
Fix error messages 2022-09-23 14:41:14 +02:00
Chocobozzz f64a58296e
Fix missing i18n on signup label 2022-09-20 14:20:04 +02:00
Chocobozzz 3afe0ec3b3
Fix broken dates with localized pages 2022-09-16 10:33:55 +02:00
Chocobozzz e1eada8bae
Disable uninstall button on plugin uninstallation 2022-09-16 10:02:46 +02:00
Chocobozzz 81ed2de85c
Don't break install plugin on failure 2022-09-16 09:53:27 +02:00
Chocobozzz c95fbe6553
Fix missing pagination when listing channel syncs 2022-09-14 15:18:05 +02:00
Chocobozzz fc3784583c
Fix user creation date on localized page 2022-09-14 09:48:43 +02:00
Chocobozzz 7c9a251912
Simplify transcoding sentence 2022-09-13 12:01:05 +02:00
Chocobozzz 367a9dc699
Don't display remove file icon in some cases 2022-09-13 12:00:13 +02:00
Chocobozzz ec8c188b14
Update client dep 2022-09-09 14:59:09 +02:00
Chocobozzz 8b69f9f028
Check admin config when loading the page
Avoid issues when an invalid config was set in the configuration file
2022-09-08 08:41:48 +02:00
Chocobozzz c5fe343411
Fix short description validator 2022-09-08 08:41:48 +02:00
lutangar 2873a53efd Set scroll position at top of the textarea when opening the subtitle editor.
## Description

This set the position of the scrollbar at the top of the textarea when opening the __subtitle editor__.
Previously the textarea scroll position was at the bottom of the textarea which doesn't make much sense when you want to edit a subtitle : you most likely want to edit the beginning of the subtitle first.

This also set the caret position on the first character.

## Design decision

I had to use a *component approach* instead of an `<ng-template>` for the edition modal because the `@viewChild` directive doesn't work for elements __inside__ an `<ng-template>`.
I needed the `viewChild` directive to get an `ElementRef` of the `textarea`.

> See the following issue and its workaround :
> - https://github.com/valor-software/ngx-bootstrap/issues/3825
> - https://stackblitz.com/edit/angular-t5dfp7
> - https://medium.com/@izzatnadiri/how-to-pass-data-to-and-receive-from-ng-bootstrap-modals-916f2ad5d66e

## Related issues
Closes [peertube-plugin-transcription/#39](https://gitlab.com/apps_education/peertube/plugin-transcription/-/issues/39)
2022-09-08 08:41:36 +02:00
Chocobozzz 690bb8f9f3
Prefer using Object.values 2022-08-17 15:36:03 +02:00
Chocobozzz 97eba003a9
Add sync link to import page 2022-08-17 13:40:00 +02:00
Chocobozzz fd3c2e8705
Add playback metric endpoint sent to OTEL 2022-08-16 10:33:27 +02:00
Chocobozzz 0e6cd1c00f
Add ability to list comments on local videos 2022-08-16 10:33:27 +02:00
Chocobozzz 2f6e173002
Prevent creating multiple lives 2022-08-12 10:43:50 +02:00
Chocobozzz 9a3f72508c
Move search bar at the middle of the header 2022-08-12 10:37:22 +02:00
Chocobozzz 0582b4f972
Improve wait transcoding help 2022-08-12 10:20:09 +02:00
Chocobozzz 437f277afd
Prefer thumbnail instead of preview 2022-08-12 10:15:45 +02:00
Chocobozzz 418db8ac99
Add years when grouping by stats by month 2022-08-11 15:51:27 +02:00
Chocobozzz de61544582
Add plugin hooks/placeholder to share modal 2022-08-11 15:28:11 +02:00
Chocobozzz 87cd93970d
Add missing openapi 2022-08-10 14:57:26 +02:00
Chocobozzz 40e9937247
Fix angular warning 2022-08-10 14:38:24 +02:00
Chocobozzz a3b472a12e
Add ability to list imports of a channel sync 2022-08-10 14:32:00 +02:00
Chocobozzz 0567049a98
Add missing job types to admin panel 2022-08-10 10:34:39 +02:00
Chocobozzz f228e9f064
More precise date for jobs 2022-08-10 10:26:20 +02:00
Florent 2a491182e4
Channel sync (#5135)
* Add external channel URL for channel update / creation (#754)

* Disallow synchronisation if user has no video quota (#754)

* More constraints serverside (#754)

* Disable sync if server configuration does not allow HTTP import (#754)

* Working version synchronizing videos with a job (#754)

TODO: refactoring, too much code duplication

* More logs and try/catch (#754)

* Fix eslint error (#754)

* WIP: support synchronization time change (#754)

* New frontend #754

* WIP: Create sync front (#754)

* Enhance UI, sync creation form (#754)

* Warning message when HTTP upload is disallowed

* More consistent names (#754)

* Binding Front with API (#754)

* Add a /me API (#754)

* Improve list UI (#754)

* Implement creation and deletion routes (#754)

* Lint (#754)

* Lint again (#754)

* WIP: UI for triggering import existing videos (#754)

* Implement jobs for syncing and importing channels

* Don't sync videos before sync creation + avoid concurrency issue (#754)

* Cleanup (#754)

* Cleanup: OpenAPI + API rework (#754)

* Remove dead code (#754)

* Eslint (#754)

* Revert the mess with whitespaces in constants.ts (#754)

* Some fixes after rebase (#754)

* Several fixes after PR remarks (#754)

* Front + API: Rename video-channels-sync to video-channel-syncs (#754)

* Allow enabling channel sync through UI (#754)

* getChannelInfo (#754)

* Minor fixes: openapi + model + sql (#754)

* Simplified API validators (#754)

* Rename MChannelSync to MChannelSyncChannel (#754)

* Add command for VideoChannelSync (#754)

* Use synchronization.enabled config (#754)

* Check parameters test + some fixes (#754)

* Fix conflict mistake (#754)

* Restrict access to video channel sync list API (#754)

* Start adding unit test for synchronization (#754)

* Continue testing (#754)

* Tests finished + convertion of job to scheduler (#754)

* Add lastSyncAt field (#754)

* Fix externalRemoteUrl sort + creation date not well formatted (#754)

* Small fix (#754)

* Factorize addYoutubeDLImport and buildVideo (#754)

* Check duplicates on channel not on users (#754)

* factorize thumbnail generation (#754)

* Fetch error should return status 400 (#754)

* Separate video-channel-import and video-channel-sync-latest (#754)

* Bump DB migration version after rebase (#754)

* Prettier states in UI table (#754)

* Add DefaultScope in VideoChannelSyncModel (#754)

* Fix audit logs (#754)

* Ensure user can upload when importing channel + minor fixes (#754)

* Mark synchronization as failed on exception + typos (#754)

* Change REST API for importing videos into channel (#754)

* Add option for fully synchronize a chnanel (#754)

* Return a whole sync object on creation to avoid tricks in Front (#754)

* Various remarks (#754)

* Single quotes by default (#754)

* Rename synchronization to video_channel_synchronization

* Add check.latest_videos_count and max_per_user options (#754)

* Better channel rendering in list #754

* Allow sorting with channel name and state (#754)

* Add missing tests for channel imports (#754)

* Prefer using a parent job for channel sync

* Styling

* Client styling

Co-authored-by: Chocobozzz <me@florianbigard.com>
2022-08-10 09:53:39 +02:00
Chocobozzz 84cae54e7a
Add option to not transcode original resolution 2022-08-09 09:18:07 +02:00
Chocobozzz ca0f030787
Add error info on router error 2022-08-03 15:21:00 +02:00
Chocobozzz 9ca0f688e9
Add channel hooks 2022-08-03 10:39:40 +02:00
Chocobozzz e07c55167e
Fix table columns on safari 2022-08-01 15:13:52 +02:00
Chocobozzz 1bb4c9ab2e
Add ability to delete a specific video file 2022-08-01 14:55:10 +02:00
Chocobozzz 5a9a56b78f
Prevent error on highlighted thread 2022-07-29 10:32:56 +02:00
Chocobozzz 37b1d97f22
Prevent fetching playlist status after logout 2022-07-28 16:27:14 +02:00
Chocobozzz 8224e13d3b
Fix disabled inputs in admin 2022-07-28 09:45:15 +02:00
Chocobozzz dbf4952717
Fix broken admin page 2022-07-28 08:45:25 +02:00
Chocobozzz e3d6c6434f
Add bulk action on following/followers 2022-07-27 13:52:13 +02:00
Chocobozzz 073deef886
Handle rejected follows in client
Also add quick filters so it's easier to find pending follows
2022-07-27 13:52:13 +02:00
Chocobozzz 3267d381f4
Fix invalid margin when loader is not displayed 2022-07-27 13:52:13 +02:00
Chocobozzz 4f50475c67
Display latest uploaded date for captions 2022-07-25 10:45:40 +02:00
Chocobozzz d65cd16551
video-watch.video-threads.loaded after DOM loading 2022-07-22 15:31:37 +02:00
Chocobozzz c8fa571f32
Clearer live session
Get the save replay setting when the session started to prevent
inconsistent behaviour when the setting changed before the session was
processed by the live ending job

Display more information about the potential session replay in live
modal information
2022-07-22 15:22:21 +02:00
Chocobozzz ace01da348
Fix z-index with custom homepage 2022-07-18 15:01:47 +02:00
Chocobozzz 42b4063699
Add ability for client to create server logs 2022-07-18 11:37:18 +02:00
Chocobozzz 4fdc735020
Fix typeahead font size 2022-07-15 09:33:41 +02:00
Chocobozzz e45dd87b93
Fix host advanced filter with channels 2022-07-13 11:36:01 +02:00
Chocobozzz ba24a31c26
Fix interface lang button when unlogged 2022-07-12 14:48:44 +02:00
Chocobozzz 21d8979fbd
Fix instance config on mobile 2022-07-12 14:46:09 +02:00
Chocobozzz 0667dbaf26
Reset table pagination on search 2022-07-12 10:19:33 +02:00
Chocobozzz c0e3d9ff90
Rename not fount page to error page 2022-07-08 10:58:05 +02:00
kontrollanten c482d2b7a6
feat(client/PageNotFound): mascot margin 2022-07-08 10:58:04 +02:00
kontrollanten 9469783d43
feat: custom msg upon 401 response
closes #4768
2022-07-08 10:58:04 +02:00
kontrollanten a28b0f696c
fix(client/AbuseDetails): infinite update loop (#5109)
* fix(client/AbuseDetails): infinite update loop

* Abuse may not have predefined reasons

Co-authored-by: Chocobozzz <me@florianbigard.com>
2022-07-08 10:57:29 +02:00
kontrollanten f8b4a71d42
hooks filter:api.my-lib.playlist-elems.get.* (#5098)
* hooks filter:api.my-lib.playlist-elems.get.*

closes #4776

* Introduce my-library plugin scope

Co-authored-by: Chocobozzz <me@florianbigard.com>
2022-07-08 10:50:10 +02:00
Chocobozzz 0146f3516e
Fix comments/download attributes on import 2022-07-04 11:31:22 +02:00
Chocobozzz 090d100cc3
Improve menu css 2022-06-30 09:03:40 +02:00
Chocobozzz f87efecff9
Fix button loading position 2022-06-30 08:54:06 +02:00
Chocobozzz bd2b51be4b
Put instance name in embed button 2022-06-28 14:11:10 +02:00
Chocobozzz 9f4109e263
Registrations typo and css fixes 2022-06-28 13:24:55 +02:00
Chocobozzz a334597283
Theme fixes 2022-06-28 11:29:54 +02:00
Chocobozzz 4c8a099198
Registration css fixes 2022-06-28 10:27:01 +02:00
Chocobozzz 83b1b7eaf1
Merge branch 'release/4.2.0' into develop 2022-06-27 13:53:42 +02:00
Chocobozzz 5079082d0d
Fix boolean data attributes in homepage 2022-06-27 13:51:46 +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 00fe5d6136
Fix setting theme in client 2022-06-27 09:59:10 +02:00
Chocobozzz b713976afb
Fix comment add avatar when unlogged 2022-06-27 09:45:16 +02:00
Chocobozzz 7c07259ae5
Fix fetching unlisted video in client 2022-06-24 14:47:32 +02:00
Chocobozzz 58e7850615
Fix latest live sessions order 2022-06-24 09:57:55 +02:00
Chocobozzz 087c7118f5
Fix latest live sessions order 2022-06-24 09:53:03 +02:00
Chocobozzz 64324ac646
Merge branch 'release/4.2.0' into develop 2022-06-23 10:53:16 +02:00
Chocobozzz b6898035bf
Fix going live latency mode 2022-06-23 10:52:27 +02:00
kontrollanten 2e401e8575
store uploaded video filename (#4885)
* store uploaded video filename

closes #4731

* dont crash if videos channel exist

* migration: use raw query

* video source: fixes after code review

* cleanup

* bump migration

* updates after code review

* refactor: use checkUserCanManageVideo

* videoSource: add openapi doc

* test(check-params/video-source): fix timeout

* Styling

* Correctly set original filename as source

Co-authored-by: Chocobozzz <me@florianbigard.com>
2022-06-21 15:31:25 +02:00
Chocobozzz 6e391224d4
Fix missing link orange 2022-06-21 11:28:46 +02:00
Chocobozzz 75084782b7
Handle input error in custom input text 2022-06-20 16:42:21 +02: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
Chocobozzz 0cc85266a4
Fix typo 2022-06-20 10:56:32 +02:00
Chocobozzz 714e33a742
Merge branch 'release/4.2.0' into develop 2022-06-20 10:23:19 +02:00
Chocobozzz 82eb78504f
Fix user name work wrapping 2022-06-17 16:07:56 +02:00
Chocobozzz ba73bedda6
Fix video selection buttons placement 2022-06-17 15:48:03 +02:00
Chocobozzz fba911e2c8
Merge branch 'release/4.2.0' into develop 2022-06-17 14:17:06 +02:00
Chocobozzz f27b7a750f
Send views in a dedicated queue 2022-06-17 14:08:13 +02:00
Chocobozzz baf99fcc65
Fix strings that cannot be merged by xlf-merge 2022-06-16 17:07:50 +02:00
Chocobozzz c4a051712b
Cleanup title-page CSS 2022-06-16 16:16:51 +02:00
Chocobozzz 3d2078d6a5
Fix top menu opacity 2022-06-16 15:14:00 +02:00
Chocobozzz 269f789be1
Improve quick settings UI 2022-06-16 15:06:25 +02:00
Chocobozzz 5e93a6d142
Improve theme label 2022-06-16 14:44:14 +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
Chocobozzz 04c2dcfc6b
Fix login form scrolling 2022-06-15 14:36:24 +02:00
Chocobozzz 1105696623
Improve login page UI 2022-06-15 14:32:30 +02:00
Chocobozzz 428025432b
Fix login input size 2022-06-15 13:47:24 +02:00
Chocobozzz b38fcaad02
Increase margin between upload and search inputs 2022-06-15 13:46:11 +02:00
Chocobozzz e10c936b77
Lighter foreground font color 2022-06-15 13:42:11 +02:00
Chocobozzz 6f03f944c3
Redesign register steps 2022-06-15 13:31:53 +02:00
Chocobozzz 85cfe29be6
Fix socket io lazy loading 2022-06-13 13:55:05 +02:00
Chocobozzz 22f375f37d
Remove unused global css 2022-06-13 13:43:25 +02:00
Chocobozzz f72c78b2f6
Reorganize application.scss 2022-06-13 11:42:23 +02:00
Chocobozzz dc1296a9ab
Better icon names 2022-06-13 11:28:20 +02:00
Chocobozzz 93c728a25a
Replace all glyphicon icons 2022-06-13 11:23:36 +02:00
Chocobozzz c2faa073d1
Replace glyphicon chevron 2022-06-10 17:05:55 +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 b15fcd49bf
Prefer global icon instead of glyphicon for copy 2022-06-10 15:51:47 +02:00
Chocobozzz 073367bb65
Prefer using our icons for notifications 2022-06-10 15:14:49 +02:00
Chocobozzz a14c176472
Use bootstrap loader 2022-06-10 15:00:00 +02:00
Chocobozzz 1fef6bccd9
Remove secondary color theme 2022-06-10 14:06:52 +02:00
Chocobozzz 60d3601371
Fix list overflow 2022-06-10 13:51:12 +02:00
Chocobozzz db66f3914b
Refactor button components 2022-06-10 13:51:12 +02:00
Chocobozzz 0164fc112a
Merge branch 'release/4.2.0' into develop 2022-06-10 10:20:55 +02:00
Chocobozzz bffee1d538
Fix classic select and ng select css inconsistency 2022-06-10 10:18:44 +02:00
Chocobozzz a3d7aadb6d
Fix my import expander icon
Should not be displayed if there is no import error
2022-06-10 10:05:50 +02:00
Chocobozzz db129781ca
Fix button icon margin 2022-06-10 10:04:23 +02:00
Chocobozzz 60ab5b99c7
Fix filters error in console 2022-06-10 09:52:20 +02:00
Chocobozzz 9a872b03dd
Fix upload banner icon margin 2022-06-10 09:44:20 +02:00
Chocobozzz 55269c0460
Fix search filters count 2022-06-10 09:40:20 +02:00
Chocobozzz 4c8749cb9e
Migrate to bootstrap 5 2022-06-10 09:21:00 +02:00
Chocobozzz eaa529528c
Support ICU in TS components 2022-06-08 13:40:40 +02:00
luz paz 7a4fd56ccd Fix various typos
Found via `codespell -q 3 -S ./CREDITS.md,./CHANGELOG.md,./client/src/locale,./yarn.lock,./client/yarn.lock -L doubleclick,followings,nd,ot,ro,serie,splitted,tread,truthy`
2022-06-07 16:41:21 +02:00
Chocobozzz e771ff815d
Merge branch 'release/4.2.0' into develop 2022-06-03 14:32:44 +02:00
Chocobozzz 5a2f775a21
Handle playlist without videos available 2022-06-03 14:19:30 +02:00
Chocobozzz 010382b603
Completely remove best default trending algorithm 2022-06-03 14:04:52 +02:00
Chocobozzz 8a2166c9bf
Fix typo 2022-06-01 08:25:41 +02:00
Florian CUNY c6f8ca4d65
Added "total views" in the my channels list (#5007)
* Added "total views" in the my channels list

Implements https://github.com/Chocobozzz/PeerTube/issues/4331

* Fix lint

* applied suggested change

* updated openAPI spec for the use "withStats" when getting video channels

* applied code change

* removed GROUP BY in query

* Fixed test
2022-05-31 16:01:11 +02:00
Poslovitch f823637d18 Display "No subscribers" in my-library instead of "0 subscribers"
Was suggested in https://github.com/Chocobozzz/PeerTube/pull/4484
2022-05-30 10:06:03 +02:00
Chocobozzz 9c931cf0bb
Add missing i18n for hotkeys 2022-05-25 15:39:10 +02:00
Chocobozzz ab623c0e0b
Merge branch 'release/4.2.0' into develop 2022-05-25 15:22:28 +02:00
Chocobozzz 994b474331
Fix job progress column 2022-05-25 11:04:59 +02:00
Chocobozzz a220b84b0e
Fix avatars in notifications 2022-05-25 09:37:30 +02:00
Chocobozzz 424aeb12bd
Fix upload avatar button 2022-05-25 08:55:21 +02:00
Chocobozzz 87a0cac618
Improve admin users list table
* Fix last login sort with null values
 * Remember last selected columns
 * Display last login date by default
2022-05-24 15:29:17 +02:00
Jlll1 bf28e1daf1
(#4959) Add 'Originally Published At' sort option in videos pages (#4977)
* Add Original Publication Date sort dropdown option in video filters

* Make the minimal sort dropdown width 250px to acomodate for 'Originally Published At' option

* Improve label

Co-authored-by: Chocobozzz <me@florianbigard.com>
2022-05-24 11:42:50 +02:00
Chocobozzz 2139365262
Fix avatar default size 2022-05-23 17:51:48 +02:00
Chocobozzz 13e7c3b02a
Fix redirect users after login with external auth 2022-05-20 11:43:04 +02:00
Chocobozzz 60f013e103
Add control bar option for peertube player 2022-05-20 09:59:53 +02:00
Chocobozzz a871d2a273
Add "only display embed URL" in share modal 2022-05-20 09:07:00 +02:00
Chocobozzz cf0dd18abc
Increase timeouts 2022-05-18 15:16:34 +02:00
Chocobozzz 4783067277
Fix live mode descriptions 2022-05-18 14:30:49 +02:00
Chocobozzz efa236c6c6
Better stats date format 2022-05-18 12:00:51 +02:00
Chocobozzz 305ec38496
Add total viewers overall stat 2022-05-18 09:18:39 +02:00
Chocobozzz f4120aea7a
Fix video upload with some characters in filename 2022-05-17 14:54:54 +02:00
Chocobozzz b01bdcfcae
Add min range to stats graphs 2022-05-10 09:23:58 +02:00
Chocobozzz 644014cc55
Fix help popover width 2022-05-09 10:54:47 +02:00
Chocobozzz cb28bb92da
Add URL redirection support for external auth 2022-05-09 10:47:46 +02:00
Chocobozzz 822f50fa81
Add help to understand what is a view 2022-05-06 14:56:34 +02:00
Chocobozzz f40712abbb
Add ability to filter overall video stats by date 2022-05-06 14:23:02 +02:00
Chocobozzz f18a060a83
Remove comments, rates and views from stats
It prevent us to apply date filters
2022-05-05 13:47:51 +02:00
Chocobozzz 26da644eab
Fix help component z-index 2022-05-04 09:02:59 +02:00
Chocobozzz 39e68a3254
Add session informations in live modal 2022-05-03 15:21:42 +02:00
Chocobozzz 26e3e98ff0
Support live session in server 2022-05-03 14:49:15 +02:00
Chocobozzz 86c5229b4d
Save replay of permanent live in client 2022-05-03 08:32:20 +02:00
Chocobozzz dd29842306
Fix subscribe button dropdown position 2022-05-02 13:57:05 +02:00
Chocobozzz 4428ad543e
Fix avatar responsive 2022-05-02 13:46:09 +02:00
Chocobozzz 252e16e158
Remove confusing P2P info in instance features
It's confusing because it depends on user and admin settings
We already display messages in player and watch page if P2P is enabled
2022-05-02 11:31:22 +02:00
Chocobozzz 264903358d
Display live info in my videos 2022-04-20 10:05:21 +02:00
Chocobozzz 4f9a20a00a
Don't date if no there aren't peak viewers 2022-04-20 09:17:23 +02:00
Chocobozzz db19581fb2
Add ability to sort by global views 2022-04-15 15:14:32 +02:00
Chocobozzz 2b0d17ccf4
Reduce videos sort complexity
Automatically use best sort if user is logged in and chose hot algorithm
2022-04-15 15:07:20 +02:00
Chocobozzz ef3de8de21
Fix typo 2022-04-15 14:24:48 +02:00
Chocobozzz a94b02e11a
Fix signup setp buttons on chrome 2022-04-15 11:30:17 +02:00
Chocobozzz b3f84d8ddb
Include upper boundary on stats graph zoom 2022-04-15 10:54:13 +02:00
Chocobozzz 3eda9b775a Support interactive video stats graph 2022-04-15 09:49:35 +02:00
Chocobozzz 384ba8b77a Support videos stats in client 2022-04-15 09:49:35 +02:00
Showfom 0abc8be57c Update menu.component.html
It's 2022 now
2022-04-08 11:17:05 +02:00
Chocobozzz 25fd0b59f6
Prefer "publish" over "upload" 2022-04-08 11:16:36 +02:00
kontrollanten 72dd3a7c26
Fix titles on upload page (#4904)
* client/video-add: fix route titles

* client/video-add: show progress in page title

* Styling

Co-authored-by: Chocobozzz <me@florianbigard.com>
2022-04-08 11:14:12 +02:00
Chocobozzz 851e808dc9
Fix angular build 2022-03-22 18:27:29 +01:00
Chocobozzz a2c5cd4a03
Add reset button for file inputs in studio page 2022-03-22 17:41:39 +01:00
Chocobozzz 92e66e04f7
Rename studio to editor 2022-03-22 17:24:32 +01:00
Chocobozzz 1808a1f8e4
Add video edition finished notification 2022-03-22 16:25:14 +01:00
Chocobozzz 439b6b7bfb
Lazy load charts when listing my channels 2022-03-21 11:40:25 +01:00
Chocobozzz 9ca5728be1
Fix channel edition page 2022-03-21 09:11:11 +01:00
Chocobozzz 22e909224c
Don't allow video edition if not enabled 2022-03-18 16:31:12 +01:00
Chocobozzz cc92203fe5
Fix menu weird display issue on firefox 2022-03-18 14:15:04 +01:00
Chocobozzz 8366491890
Fix invalid token on upload 2022-03-16 15:45:56 +01:00
kontrollanten 60233e90d2
add client.videos.upload.maxChunkSize config (#4857)
* add client.videos.upload.maxChunkSize config

* updates after review

* remove maxChunkSize from custom-config
2022-03-16 10:57:36 +01:00
Chocobozzz ff6a266e3f
Clearer theme select labels 2022-03-15 15:19:41 +01:00
Chocobozzz b788e69131
Some fixes for themes 2022-03-15 14:12:37 +01:00
Chocobozzz 57d6503286
Reorganize player files 2022-03-14 14:36:35 +01:00
Chocobozzz 4495806f2f
Merge remote-tracking branch 'weblate/develop' into develop 2022-03-11 11:11:00 +01:00
Chocobozzz 052bdb7c12
Typo 2022-03-11 11:06:45 +01:00
Chocobozzz f443a74649 Add latency setting support 2022-03-09 09:23:10 +01:00
kontrollanten 2c102aac13
Display avatar in video miniatures (#4823)
* show avatar in video miniatures

closes #4040

* fix: videos for api, include avatars

* add config for display video miniature avatar

* Revert "fix: videos for api, include avatars"

This reverts commit 5520a3eda6.

* video-min: set display avatar to false as default

* remove empty line

* rename display_avatar > display_author_avatar

* fix renaming displayAvatar > displayAuthorAvatar
2022-03-08 13:39:27 +01:00
Chocobozzz 77f811ced1
Fix channel avatar in select component 2022-03-02 15:47:04 +01:00
Robert Riemann 8b8bd0228d open privacy info in user settings dialogue in new window 2022-03-02 08:32:30 +01:00
Chocobozzz 19e7a90045
Fix playlist element scrolling 2022-03-01 13:37:40 +01:00
Chocobozzz f41efa52a4
Fix avatar with username starting with numbers 2022-02-28 16:44:11 +01:00
Chocobozzz fbd573e59c
Add refresh button to comments list 2022-02-28 16:37:31 +01:00
Chocobozzz 5a51ecc217
Move admin comments list in overviews menu 2022-02-28 16:27:25 +01:00
Chocobozzz 5273f40afc
Improve stat labels 2022-02-28 15:34:07 +01:00
Chocobozzz 70a8e50a5d Cleanup subtitle edition PR 2022-02-28 14:29:01 +01:00
lutangar 57d74ec83d Add simple subtitle edition from video captions tab
Introduce a new __Edit__ button on a subtitle.
It opens a modal with simple textarea allowing the user to do quick corrections on a subtitle.
2022-02-28 14:29:01 +01:00
Chocobozzz e66d0892b1
Fix listUserChannelsForSelect 2022-02-28 13:45:09 +01:00
Chocobozzz a282e4d8a0 Continue user mute in ban modal PR 2022-02-28 11:36:31 +01:00
Poslovitch 5a8de57d57 Add ability to mute user when banning them
Implements https://github.com/Chocobozzz/PeerTube/issues/1803
2022-02-28 11:36:31 +01:00
Chocobozzz c729caf6cc Add basic video editor support 2022-02-28 10:42:19 +01:00
kontrollanten d0800f7661
Implement avatar miniatures (#4639)
* client: remove unused file

* refactor(client/my-actor-avatar): size from input

Read size from component input instead of scss, to make it possible to
use smaller avatar images when implemented.

* implement avatar miniatures

close #4560

* fix(test): max file size

* fix(search-index): normalize res acc to avatarMini

* refactor avatars to an array

* client/search: resize channel avatar to 120

* refactor(client/videos): remove unused function

* client(actor-avatar): set default size

* fix tests and avatars full result

When findOne is used only an array containting one avatar is returned.

* update migration version and version notations

* server/search: harmonize normalizing

* Cleanup avatar miniature PR

Co-authored-by: Chocobozzz <me@florianbigard.com>
2022-02-28 08:34:43 +01:00
Chocobozzz 1d54b2052c
Hide remote subscribe if logged in 2022-02-22 14:38:57 +01:00
Chocobozzz 89e3de8dc6
Reduce latency when adding a video to playlist 2022-02-22 11:41:44 +01:00
Chocobozzz 4edee628a0
Improve account removal message for users 2022-02-22 11:25:03 +01:00
Chocobozzz 0ffa7a0ef3
Don't manage remote channels 2022-02-10 10:41:22 +01:00
Chocobozzz 474542d7ac
Add additional checks when importing a video 2022-02-09 11:54:18 +01:00
Chocobozzz ba8a8367e7
Better display redundancy pies 2022-02-09 11:54:18 +01:00
Chocobozzz c356907b71
Don't display no results if still loading 2022-02-09 11:54:18 +01:00
Chocobozzz 612dd3c3f5
Fix embed margin in share modal 2022-02-09 11:54:18 +01:00
kontrollanten af6b45e5d9 client: show private badge in playlists
closes #2601
2022-02-07 11:24:35 +01:00
Chocobozzz f33e515991
Correctly check import target URL IP 2022-02-07 11:21:25 +01:00
Chocobozzz 4afec73571
Fix scheduled publication on upload 2022-02-07 10:27:08 +01:00
Chocobozzz 21f2df5d3b
Put white background to peertube icons 2022-02-04 13:48:21 +01:00
Chocobozzz c68e2b2d22
Fix plaintext markdown converter 2022-02-04 10:38:32 +01:00
kontrollanten 692a231026 video-playlist: show date and views count
closes #4396
2022-02-03 10:38:47 +01:00
Chocobozzz c4207f978e
Fast forward on HLS decode error 2022-02-02 11:26:18 +01:00
kontrollanten 038e1f3de5
Add refresh button to admin > video list (#4753)
* feat(client/video-list): add refresh btn

* CSS styling

Co-authored-by: Chocobozzz <me@florianbigard.com>
2022-02-01 14:47:36 +01:00
Chocobozzz a2caee9f51
Fix HLS re transcoding with object storage enabled 2022-02-01 14:19:44 +01:00
Chocobozzz 8d9c10bc51
Limit scope to local when finding in bulk 2022-01-31 11:15:44 +01:00
Chocobozzz d92d070c91
Split user service 2022-01-21 11:03:25 +01:00
Chocobozzz 82b9a1005c
Fix abuse crash on deleted reporter account 2022-01-20 10:52:50 +01:00
Chocobozzz efd4ff5fbc
Open and close settings modal using query params 2022-01-20 10:11:49 +01:00
Chocobozzz 071f3e519c
Plugins can add custom instance infobox 2022-01-20 09:35:06 +01:00
Chocobozzz 419b520ca4
Add ability to cancel & delete video imports 2022-01-19 14:31:05 +01:00
Chocobozzz 077a413ff8
Automatically restart live on server/live restart 2022-01-19 10:44:12 +01:00
Chocobozzz e8bffe9690
Remove unnecessary function 2022-01-18 11:37:29 +01:00
Chocobozzz c1f7a737cf
Reduce history method names 2022-01-18 11:25:52 +01:00
Chocobozzz 7177b46ca1
Add ability to delete history element 2022-01-18 11:23:41 +01:00
kontrollanten c333ec098d menu: hide undefined icons
Hide my-global-icon when custom menu items are added without icon property.
2022-01-15 09:34:58 +01:00
The Cashew Trader 884b17773d
Fix user ban modal grammar to account for multiple users (#4722)
* Fix user ban modal grammar to account for multiple users

* Address variable sugggestion

* Address property syntax suggestion

* Address localization suggestion

* More concise `isSingleUser` declaration
2022-01-14 15:10:27 +01:00
Chocobozzz edb12cc9a5
Upgrade client dependencies 2022-01-14 14:28:20 +01:00
Chocobozzz 696b45deb6
Fix timestamp click 2022-01-13 13:48:02 +01:00
Chocobozzz fc3412fd4e
Cleanup player hotkeys 2022-01-13 11:16:35 +01:00
Chocobozzz a5a79d1542
Increase player control bar size 2022-01-10 10:08:14 +01:00
Chocobozzz a8454bb26c
Fix button group 2022-01-03 15:17:17 +01:00
Chocobozzz cc4bf76c13
Handle async validators 2022-01-03 14:20:52 +01:00
Chocobozzz e2aeb8ad0f
Replace url when redirecting plugin admin url 2021-12-29 15:05:12 +01:00
Chocobozzz 0628157fe9
Move uuid stuff in extra utils
Since it requires an external dependency
2021-12-29 14:44:58 +01:00
Chocobozzz fb3c9e2bf5
Translate plugin settings 2021-12-29 14:08:07 +01:00
Chocobozzz 2accfdd8ec
Refactor admin plugins 2021-12-29 12:17:11 +01:00
Chocobozzz 9744bb2ae8
Fix ngx loading bar deprecation 2021-12-29 11:46:26 +01:00
Chocobozzz 29aedac8dc
Refactor plugin card 2021-12-29 10:41:48 +01:00