Commit Graph

617 Commits (9bc3622320dc43474ce4b60c222ec25e6e657b97)

Author SHA1 Message Date
Chocobozzz 16a173bbc9
Automatically enable videos auto block on signup 2020-11-18 16:13:38 +01:00
Chocobozzz c195975c54
Use badge in video block list 2020-11-16 15:41:15 +01:00
Chocobozzz 5ed46c1bce
Refactor rest table search filter 2020-11-16 14:47:05 +01:00
Chocobozzz 7706b3703a
Put admin actions on the left 2020-11-16 14:26:50 +01:00
Chocobozzz 19149d45b8
Merge branch 'feature/admin-comments' into develop 2020-11-16 13:57:14 +01:00
Chocobozzz f127331459
Add admin view to manage comments 2020-11-16 13:48:58 +01:00
Chocobozzz 0f8d00e314
Implement video comment list in admin 2020-11-13 16:38:23 +01:00
Rigel Kent dc5bb5cea5
reword unclear sentences, check for grammar
fixes #3222
2020-11-12 21:09:28 +01:00
Chocobozzz 210856a7be
Try to fix live segments check 2020-11-10 14:15:59 +01:00
Chocobozzz 97969c4edf Add check constraints live tests 2020-11-09 15:33:04 +01:00
Chocobozzz a056ca4813 Add max lives limit 2020-11-09 15:33:04 +01:00
Chocobozzz fb7194043d Check live duration and size 2020-11-09 15:33:04 +01:00
Chocobozzz a5cf76afa3 Add watch messages if live has not started 2020-11-09 15:33:04 +01:00
Chocobozzz c6c0fa6cd8 Live streaming implementation first step 2020-11-09 15:33:04 +01:00
Rigel Kent 7f0d856169 jobs/logs view select and empty state visual improvements 2020-09-28 13:25:50 +02:00
Chocobozzz 7294aab0c8 Add ability to set custom field to video form 2020-08-21 15:39:51 +02:00
Chocobozzz 7ed1edbbe4 We don't need services anymore for validators 2020-08-17 15:12:55 +02:00
Chocobozzz f29f487ef8
Use localize for page titles 2020-08-17 10:30:59 +02:00
Chocobozzz 66357162f8
Migrate to $localize
* Remove i18n polyfill to translate things in components
 * Reduce bundle sizes
 * Improve runtime perf
 * Reduce a lot the time to make a full client build
 * Reduce client build complexity
 * We don't need a service to translate things anymore (so we will be able to translate title pages etc)

Unfortunately we may loose some translations in the migration process.
I'll put a message on weblate to notify translators
2020-08-14 10:28:30 +02:00
Chocobozzz fe9cc7183f
Remove useless i18n tags 2020-08-14 09:19:30 +02:00
Rigel Kent 857961f0ee
adapt my-select-checkbox placeholder to its context 2020-08-11 16:52:26 +02:00
Chocobozzz 94676e631c
Remove angular pipes module 2020-08-11 16:50:00 +02:00
Chocobozzz 52c4976fcf
Use ng select for multiselect 2020-08-11 16:18:42 +02:00
kimsible 4abe9c593a Add validator channel name 2020-08-11 08:46:35 +02:00
kimsible 62fc691548 Add channel_name field to create-user view 2020-08-11 08:46:35 +02:00
kimsible 7034b3c908 Refactor - improve offset content handling with fixed sub-menu and broadcast-message 2020-08-11 08:03:28 +02:00
Kim 4a53fc8204
Add new anchors in my-settings and handle offset sub-menu height (#3032)
* Add anchors setting and handle offset with sub-meu

* Use PeerTube scroll logic

* Add anchor for top my-settings

* Improve scroller with smooth behavior and css offset

* Fix anchor position when using history navigation

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-08-10 15:57:37 +02:00
Rigel Kent fccbbc1a77 add and document new additional video extensions supported at upload 2020-08-10 09:46:59 +02:00
Chocobozzz 951b582f52
Add ability to share playlists in modal 2020-08-07 13:43:48 +02:00
Chocobozzz a02b93ce75 Fix lint 2020-08-07 08:28:14 +02:00
Chocobozzz bd45d503e5 Reorganize shared models 2020-08-07 08:28:14 +02:00
Chocobozzz 583eb04b54 Upgrade to angular 10 2020-08-07 08:28:14 +02:00
Rigel Kent 4504f09f6e deal with refresh token in embed 2020-08-06 15:08:58 +02:00
Rigel Kent 71ab65d02f decouple video abuse details from embed, add embed to block list details 2020-08-06 15:08:58 +02:00
Rigel Kent 9a42363291
correct column toggle z-index for user list 2020-08-03 23:43:23 +02:00
Chocobozzz e29dc2832e
Fix user list view 2020-07-31 13:33:05 +02:00
Chocobozzz 94148c9028 Add abuse messages management in my account 2020-07-31 11:35:19 +02:00
Chocobozzz 441e453ae5 Add abuse message management in admin 2020-07-31 11:35:19 +02:00
Kim 30814423ae
Improve (accessibility title) and move action-buttons on left in tables (#2980)
* Improve and move action-buttons on left in tables

* Focus on my-delete and my-button

* Correct spaces syntax

* Move user-action dropdown on the left

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-31 11:30:57 +02:00
Rigel Kent 66927c0588 modify user-quota to match account settings style 2020-07-29 18:15:53 +02:00
Rigel Kent 4f5d045960 harmonize search for libraries 2020-07-29 18:15:53 +02:00
Rigel Kent bc99dfe54e variable columns for users list, more columns possible, badge display for statuses 2020-07-29 18:15:53 +02:00
Kim dfe3f7b72e
Add alert and hide upload view when no upload is possible (#2966)
* Add alert and hide upload view when no upload is possible

* Add about instance link to alert

* Hide videos and imports links when no upload is possible

* Correct curly spacing lint

* Put logic canUpload to User model + add isHidden param to to-menu-dropdown

* Use canSeeVideoLinks from user model

* Rename and change logic canUpload to isUploadDisabled

* Use isDisplayed() method intead of isHidden value

* Refactor client and check videos count using quota

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Chocobozzz <me@florianbigard.com>
2020-07-28 15:18:38 +02:00
Kim ed5bb51726
Improve navigation sub-menu and tabs effects (#2971)
* Improve nav border and colors on active and non-active

* Remove margin-top effect on active nav

* Use opacity / bold instead of color change on nav

* Remove dropdown items label in sub-menu and add a class active

* Position sub-menu to fixed

* Autoclose dropdown sub-menu only on outside click

* Remove open dropdown on hover in sub-menu

* Show reusable h1 for dropdown item in sub-menu

* Put reusable sub-menu h1 styles to mixins

* Add icons to sub-menu dropdown-item h1

* Make all the sub-menu accessible with focus

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-23 15:09:15 +02:00
Kim 345b4a22a8
Update my-account sub-menus icons (#2977)
* Update user sub-menus icons

* Update admin sub-menu icons

* Add solendp to credits

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-23 14:42:06 +02:00
Chocobozzz ec903c010e
Merge branch 'release/2.3.0' into develop 2020-07-20 17:00:58 +02:00
kimsible 2170f1db6e Fix accessibility action buttons and display on imports and followers list 2020-07-20 17:00:28 +02:00
kimsible 2821595787 Correct missing test in user-edit template 2020-07-20 16:58:09 +02:00
Chocobozzz cfde28bac3 Add ability to report account 2020-07-10 14:02:41 +02:00
Chocobozzz 8ca56654a1 Add ability to report comments in front end 2020-07-10 14:02:41 +02:00
Chocobozzz 310b5219b3 Add new abuses tests 2020-07-10 14:02:41 +02:00
Chocobozzz 4f32032fed Add migrations 2020-07-10 14:02:41 +02:00
Chocobozzz d95d155988 Use 3 tables to represent abuses 2020-07-10 14:02:41 +02:00
Chocobozzz 767bb14a38
Fix external user edition 2020-07-06 11:03:05 +02:00
Chocobozzz 9e5dd0d96e
Fix admin layout 2020-07-06 11:02:21 +02:00
Rigel Kent ea7337cfde
add check-params test for user list
fixes #2918
2020-07-03 10:29:03 +02:00
Rigel Kent 8491293b02
add blocked filter in users list to filter banned users
fixes #2914
2020-07-02 22:50:33 +02:00
Chocobozzz 57e56eb294
Fix lint 2020-07-02 10:35:05 +02:00
Rigel Kent 0a4cb95c98 simplify navigation within most admin menus 2020-07-02 09:22:59 +02:00
Rigel Kent c7b836303c
remove extraneous user-list table attribute 2020-07-02 08:59:16 +02:00
Rigel Kent 97990c6eb0
align danger colors for user-edit 2020-07-01 17:28:50 +02:00
Rigel Kent 1fe1e14cb3 fix video update button, add color to danger zone 2020-07-01 17:03:48 +02:00
Rigel Kent 9b01cfc788
distinct style for rows of banned users in listing, saving space 2020-07-01 12:09:23 +02:00
Rigel Kent 4ee63ec648
remove extra action for when the video block type is set to manual 2020-06-28 20:28:59 +02:00
Chocobozzz cc0e0d32ea
Fix query string parsing 2020-06-26 16:08:53 +02:00
Chocobozzz d8b382912e
Fix search filter in video reports 2020-06-26 15:41:35 +02:00
Chocobozzz f6f371ae5f
Add P2P concept for HLS config 2020-06-24 11:50:53 +02:00
Chocobozzz 1942f11d5e Lazy load all routes 2020-06-23 16:00:49 +02:00
Chocobozzz 67ed6552b8 Reorganize client shared modules 2020-06-23 16:00:49 +02:00
Rigel Kent 1ebddadd07
predefined report reasons & improved reporter UI (#2842)
- added `startAt` and `endAt` optional timestamps to help pin down reported sections of a video
- added predefined report reasons
- added video player with report modal
2020-06-22 13:00:39 +02:00
Caroline Chuong d6d951ddc0 Remove uneccessary details to link titles 2020-06-18 09:02:23 +02:00
Rigel Kent 228393302d
factorize account/server blocklists for users and instance (#2875) 2020-06-15 13:18:22 +02:00
Rigel Kent 7dfe352886
replace title with video name in moderation listings 2020-06-13 11:56:23 +02:00
Caroline Chuong c9e3565dc8
fix headings order or add missing ones (#2871)
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2020-06-13 00:53:56 +02:00
Chocobozzz 8b381422b8
Fix lint 2020-06-12 08:27:59 +02:00
Caroline Chuong adcf921271
add keyboard navigation for video actions (#2854)
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2020-06-11 19:19:23 +02:00
Rigel Kent 7e4022a554
rephrase warning for self-hostable services 2020-06-11 13:13:06 +02:00
Rigel Kent 3487330d30
preserve original variable names server-side 2020-06-10 21:12:09 +02:00
Rigel Kent 5baee5fca4
rename blacklist to block/blocklist, merge block and auto-block views
- also replace whitelist with allowlist
- add advanced filters for video-block-list view
- move icons in video-block-list and video-abuse-list to left side
for visibility
- add robot icon to depict automated nature of a block in
video-block-list

resolves #2790
2020-06-10 21:12:05 +02:00
Rigel Kent d840487fed
smaller miniature average size in fluid grid, updated admin instructions for global search 2020-06-10 21:09:31 +02:00
Chocobozzz 5fb2e2888c First implem global search 2020-06-10 14:02:41 +02:00
Rigel Kent e6dfa58689 space optimizations for `node_modules` and client stats removal
- replace sharp with lighter jimp alternative
- remove stats in builds

fixes #2807
2020-06-10 14:01:49 +02:00
Rigel Kent e66883b37a
`fitWidth` for `video-miniature`, fluid grid (#2830)
* Fluid abstract video list

* normalize timestamp display on miniatures

* use grid for abstract-video-list

- refactor scss function var to pvar to avoid overriding css variables
- move fluid-grid margins to adapt-margin-content-width mixin for maintainability
- fix video-miniature-name margin-top on small screen

* move sceenratio function in a mixin

* display no miniature avatar in channel videos view
2020-06-09 09:33:28 +02:00
Caroline Chuong 6ad971d5f5
add aria-hidden to non-descriptive icons (#2844) 2020-06-08 19:42:51 +02:00
Chocobozzz 72c33e716f Support broadcast messages 2020-05-29 09:32:12 +02:00
Chocobozzz c123027fd9
Fix grey color theme 2020-05-22 11:21:55 +02:00
Chocobozzz 572bf73be6
Fix action button overflow in tables 2020-05-20 10:29:40 +02:00
Chocobozzz 5ff523664f
Fix user dropdown overflow 2020-05-11 18:05:16 +02:00
Rigel Kent b72ec06bbe
Display video redundancy entries as table link objects 2020-05-08 18:41:32 +02:00
Rigel Kent 1d26d05fd9 Align follower handle display on instance display in tables 2020-05-08 15:31:51 +02:00
Rigel Kent df4c603dea Switch emails to pug templates and provide richer html/text-only versions 2020-05-08 15:31:51 +02:00
Chocobozzz feb34f6b6b Use video abuse filters on client side 2020-05-07 08:33:34 +02:00
Rigel Kent 86ab22921b
Support pagination rowsPerPage change in instance account/server blocklists 2020-05-06 13:08:03 +02:00
Chocobozzz 06827932a2
Fix textarea size 2020-05-05 13:54:30 +02:00
Chocobozzz 8bb71f2e33
Add auth plugin info in users list 2020-05-05 13:54:30 +02:00
Rigel Kent 97601690d6
Fix video-abuse-details avatar display and user-list dropdown placement 2020-05-05 12:02:57 +02:00
Chocobozzz f66b8d1226
Re generate translations 2020-05-05 09:19:50 +02:00
Rigel Kent 8d41976378
Fix video-abuse-list init abuse duplication 2020-05-04 16:13:35 +02:00
Rigel Kent 25a42e293b Fix rowsPerPage change, add filter clear button, update video-abuse-list search query param dynamically 2020-05-04 15:01:44 +02:00
Rigel Kent 801d957155 Move abuse-list details into its own component 2020-05-04 15:01:44 +02:00
Rigel Kent 0db536f1e0 Only show updatedAt date of abuse if different from createdAt 2020-05-04 15:01:44 +02:00
Rigel Kent d405118360 Bind expanded rows to item ids instead of row number 2020-05-04 15:01:44 +02:00
Rigel Kent 9b1fa49b60 Support is:blacklisted as video-abuse-list filter 2020-05-04 15:01:44 +02:00
Rigel Kent 7f979fd8aa Reduce createdAt column size by using short date format 2020-05-04 15:01:44 +02:00
Rigel Kent 0d3a2982a9 Switching to a named filters/single input on video-abuse 2020-05-04 15:01:44 +02:00
Rigel Kent d1261d9a3c Add links from user-edit 2020-05-01 16:41:02 +02:00
Rigel Kent efa012edad Add reportee stats for deleted videos 2020-05-01 16:41:02 +02:00
Rigel Kent 0251197e24 Factorize rest-table and fix/simplify SQL 2020-05-01 16:41:02 +02:00
Rigel Kent b8cf27c0f8 Unify paginator disabling when no result is displayable, fix batch domain add for non-https 2020-05-01 16:41:02 +02:00
Rigel Kent 36004aa7b0 Support search param in URL for video abuses 2020-05-01 16:41:02 +02:00
Rigel Kent 042daa7072 Fixing circular dependency and table variable access 2020-05-01 16:41:02 +02:00
Rigel Kent d384061366 Empty states for tables 2020-05-01 16:41:02 +02:00
Rigel Kent e0a929179a Add filter inputs for blacklisted videos and muted accounts/servers 2020-05-01 16:41:02 +02:00
Rigel Kent aeb1bed983 Factorize video display in table for moderation components, apply it to blacklisted videos as well 2020-05-01 16:41:02 +02:00
Rigel Kent 5fd4ca0051 Add nth abuse count for a given video, add reporter/reportee reports stats 2020-05-01 16:41:02 +02:00
Rigel Kent 844db39ee5 Add search for video, reporter and channel name fields 2020-05-01 16:41:02 +02:00
Rigel Kent 86521a67b2 Add video channel and video thumbnail, rework video appearance in row 2020-05-01 16:41:02 +02:00
Rigel Kent 9b4241e33b Increase rows per page, add reporter muting for abuse list 2020-05-01 16:41:02 +02:00
Rigel Kent 68d19a0ace Make sure a report doesn't get deleted upon the deletion of its video 2020-05-01 16:41:02 +02:00
Kim 7a03209d28
Make admin sub-navs, selects, buttons responsive (#2702) 2020-05-01 00:51:09 +02:00
Kim b15fe00f74
Add maximized mode to markdown-textarea + CSS improvements (#2660)
* Add arrows-angle-contract/expand bootstrap icons

* Add grey textarea-background-color

* Add maximized support to markdown-textarea + improve column display

* Refactor CSS + add ResizeObservable

* Replace bootstrap icons with softies

* Add ResizeObserver typing definition

* Add focus on textarea + Fix Observables

* Propage component changes on markdown plugins

* Ignore ResizeObserver not implemented in typescript yet

* Move observers from constructor to click event

* Add scss and css variables

* Replace textareaWidth with textareaMaxWidth to fix others textareas

* Clean unused css rules

* Fix ResizeObserver unknown by TypeScript compiler

* Set max-width: 100% for small and mobile views

* Fix textarea/preview height on maximized mode

* Add common padding textarea/preview side-by-side

* Hide scrollbar sub-menu on small-views

* Add maximized mode for mobile views

* Fix sass calculate syntax

* Revert custom CSS variable for inputBorderRadius and inputBorderColor

* Remove unsued methods

* Fix missing implement method

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-04-28 14:53:43 +02:00
Kim 8c7725dc3c
Add markdown support to plugins (#2654)
* Add markdown renderer to plugins

* Chore: add doc for markdown plugins

* Fix typing markdown plugin helpers

* Add lines between components in template

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-04-20 14:51:24 +02:00
Chocobozzz 891bc2ffad
Support rel="me" links in markdown 2020-04-16 16:13:28 +02:00
Chocobozzz 45c14ae1b2
Update translations 2020-04-15 14:39:59 +02:00
Rigel Kent bb152476c8 Refactor follow/mute as modals in admin, add actions in abuse list 2020-04-14 15:53:37 +02:00
Chocobozzz 8e4aff44b0
Fix lint 2020-04-14 09:46:42 +02:00
Rigel Kent 471ee39496
Fix lint 2020-04-14 01:38:41 +02:00
Rigel Kent d6af81469b
Rich reporter field and video embed in moderation abuse list 2020-04-13 19:57:57 +02:00
Rigel Kent 2bc9bd08cd
Improving select displays, focus box-shadows for paginators, instructions for index url 2020-04-13 18:03:21 +02:00
Chocobozzz b1f3b635ed
Improve admin tables row expand 2020-04-08 14:05:55 +02:00
Chocobozzz a911462d02
Increase debug font size 2020-04-08 10:54:39 +02:00
Chocobozzz 8e11a1b37c
Fix sort in admin tables 2020-04-08 10:49:26 +02:00
Rigel Kent 947d01023d
Improve channel and account display on medium devices 2020-04-03 14:13:28 +02:00
Rigel Kent a6d5ff7604
Use form-control to display box-shadow on form inputs/selects upon focus 2020-04-02 11:39:14 +02:00
Chocobozzz 45c6bcf312
Remove deprecated NgbTabsetModule module 2020-04-01 16:52:59 +02:00
Rigel Kent 76314386ae
Add overview of a user's actions in user-edit (#2558) 2020-03-27 15:19:03 +01:00
Chocobozzz a31bec5155
Fix user role edition 2020-03-18 10:22:36 +01:00
Rigel Kent 8227643bce
hide RSS for comments, normalize video-channel edit with account edit 2020-03-12 00:46:48 +01:00
Rigel Kent 45e0d6697c
Properly scroll to anchors in links, especially in admin config 2020-03-11 19:38:17 +01:00
Rigel Kent 310e95d857
Add descriptions and links to admin configuration sections 2020-03-11 13:52:02 +01:00
Rigel Kent 680b549692
Migrate palette to HSL 2020-03-11 13:51:24 +01:00
Rigel Kent 75264e371c
Fix toast close icon 2020-03-11 11:13:24 +01:00
Rigel Kent 03efb1419d
Better use of space and icons in plugins administration interface 2020-03-10 23:48:12 +01:00
Rigel Kent 9b3078581f
Replace helpers with descriptions in admin configuration 2020-03-10 21:46:19 +01:00
Rigel Kent 482fa503e5 Use grid to organise settings in admin, my-account 2020-03-10 16:23:40 +01:00
Rigel Kent 758f0d19f2
Improve nav in admin/configuration 2020-03-07 00:15:49 +01:00
Filip Bengtsson 97eae8382e
Mark additional strings as translatable (#2507) 2020-02-21 18:51:05 +01:00
Rigel Kent 14571f1995
Replace uppercase text-transform by capitalized text source
fixes #2085
2020-02-21 16:51:34 +01:00
John Livingston 45f1bd72a0
Creating a user with an empty password will send an email to let him set his password (#2479)
* Creating a user with an empty password will send an email to let him set his password

* Consideration of Chocobozzz's comments

* Tips for optional password

* API documentation

* Fix circular imports

* Tests
2020-02-17 10:16:52 +01:00
Rigel Kent 24e7916c68 Add ListOverflow component to prevent sub-menu overflow 2020-02-13 10:25:22 +01:00
Chocobozzz be27ef3b46 Strict templates enabled 2020-02-10 16:39:28 +01:00
Chocobozzz f77eb73b5e Fix angular 9 build 2020-02-10 16:39:28 +01:00
Rigel Kent e40afb5bc4 Fix signup limit validator, and add warning message. 2020-01-31 08:56:20 +01:00
Chocobozzz 14aa85562c
Cleanup some client FIXME 2020-01-29 16:00:28 +01:00
Chocobozzz b764380ac2 Add ability to list redundancies 2020-01-28 11:35:26 +01:00
Chocobozzz f0ad471007
Update a little bit user dropdown message 2020-01-21 14:05:22 +01:00
Rigel Kent 9b82d49da8 Add action dropdown descriptions 2020-01-21 11:59:41 +01:00
Chocobozzz 4ee6a8b13e
Fix admin config form for auto follow 2020-01-21 10:47:56 +01:00
Rigel Kent 7738273b80 Accessibility fixes for #2149 2020-01-21 10:08:10 +01:00
Rigel Kent 96a4a7c332
Add description for sensitive configuration options, reword others 2020-01-15 12:15:31 +01:00
Chocobozzz 440d39c52d
Skip videos count on client if we don't use it 2020-01-08 14:40:08 +01:00
Chocobozzz 04cda1d7a5
Add warning if admin disables webtorrent 2020-01-06 17:10:02 +01:00
Rigel Kent 6a07a05861
Fix misplaced i18n tag in admin system config 2020-01-06 15:13:59 +01:00
Rigel Kent eb1c46e9a8
Enhance variable width column for id column in jobs list 2020-01-06 15:10:20 +01:00
Julien Maulny 4271212172
Enhance jobs list displaying on smaller screens 2020-01-06 15:10:19 +01:00
Rigel Kent 46db9430af
Add checkbox focus shadows, and admin resolution descriptions 2020-01-06 12:41:14 +01:00
Chocobozzz ba430d7516
Lazy load static objects 2019-12-18 15:40:59 +01:00
Rigel Kent 88a7f93f8e add loop setting for playlists, and use sessionStorage 2019-12-13 09:13:43 +01:00
Chocobozzz 566c125d6e
Serve audit logs to client 2019-12-11 14:14:01 +01:00
Chocobozzz 1061c73fde
Add ability to filter per job type 2019-12-04 14:49:59 +01:00
Chocobozzz cb5ce4cb13
Add more filters to admin follows table 2019-11-29 11:16:43 +01:00
Chocobozzz b8f4167fb6
Only display accepted followers/followings in about page 2019-11-28 11:37:32 +01:00
Chocobozzz 2fa9c40e20
Fix tests 2019-11-27 10:29:27 +01:00
Rigel Kent 2dbbf86086 (plugins) adding checkbox and textarea as possible input types, add links in form label 2019-11-25 11:19:45 +01:00
frankdelange 5c7d650827
Add audio-only option to transcoders and player
This patch adds an audio-only option to PeerTube by means of a new transcoding configuration which creates mp4 files which only contain an audio stream. This new transcoder has a resolution of '0' and is presented in the preferences and in the player resolution menu as 'Audio-only' (localised). When playing such streams the player shows the file thumbnail as background and disables controls autohide.

Audio-only files can be shared and streamed just like any other file. They can be downloaded as well, the resulting file will be an mp4 container with a single audio stream.

This patch is a proof of concept to show the feasibility of 'true' audio-only support. There are better ways of doing this which also enable multiple audio streams for a given video stream (e.g. DASH) but as this would entail a fundamental change in the way PeerTube works it is a bridge too far for a simple proof of concept.
2019-11-25 10:59:47 +01:00
Chocobozzz 5a71acd254
Disable webtorrent support in client 2019-11-25 10:59:46 +01:00
Chocobozzz 5d9e4eaabe
Add ability to enabled HLS in the admin panel 2019-11-05 10:13:37 +01:00
Filip Bengtsson 34398be429 Some language fixes (#2198)
* Fix preposition

* Fix French colon spacing

* Some grammar fixes

* Preposition fix

* Update signup-success.component.html

After suggestion from @frankstrater.
2019-10-23 14:39:09 +02:00
Chocobozzz e771dbe0aa
Update translations 2019-10-22 09:25:26 +02:00
Knackie b37a508283 Update user-edit.component.html
fixes #1943
2019-10-19 12:46:10 +02:00
Julien Maulny 235b055dc5 Allow to choose 'Most liked videos' page as default client route 2019-10-18 14:04:10 +02:00
Chocobozzz b3879928b6
Clearer debug IP message 2019-09-05 10:23:12 +02:00
Chocobozzz be04c6fdab Add hardware information in instance config 2019-09-05 10:17:02 +02:00
Chocobozzz 8ae03c3718 Add creation reason 2019-09-05 10:17:02 +02:00
Chocobozzz 421d935d25 Add about information in registration page 2019-09-05 10:17:02 +02:00
Chocobozzz ccc00cb2aa Add more attributes to about page 2019-09-05 10:17:02 +02:00
Chocobozzz e1b49ee534 Implement auto follow in client 2019-09-04 16:24:58 +02:00
Chocobozzz f9e387ed05
Fix plugin card background color with dark theme 2019-08-22 16:01:06 +02:00
Chocobozzz ad453580b2
Fix infinite scroll on big screens 2019-08-02 14:49:25 +02:00
Chocobozzz df9a1a1365
Add margin to plugin blocks in admin 2019-07-30 10:18:23 +02:00
Chocobozzz a95a4cc891
Moderators can only manage users 2019-07-30 09:59:19 +02:00
Chocobozzz d75db01f14
Add plugin translation system 2019-07-26 15:18:30 +02:00
Chocobozzz ba211e7386
Add public settings endpoint 2019-07-26 15:18:29 +02:00
Chocobozzz 23bdacf8ec
Add setting helper to client plugins 2019-07-26 15:18:28 +02:00
Chocobozzz ae8b8faf20
Update translations and support Greek language 2019-07-25 12:06:11 +02:00
Chocobozzz 41b15c8921
Update client dependencies 2019-07-25 11:00:45 +02:00
Chocobozzz 03652b3179
Use ::ng-deep instead of /deep/ 2019-07-25 11:00:43 +02:00
Chocobozzz f36da21e40
Update angular 2019-07-25 11:00:43 +02:00
Axel Viala 4511437e19 Add sortable for videoQuotaUsed in user-list component. 2019-07-25 11:00:09 +02:00
Chocobozzz 9ae88819c2
Change plugin models names 2019-07-24 11:17:42 +02:00
Chocobozzz 109d893ff5 Fix lint 2019-07-24 10:58:16 +02:00
Chocobozzz f0c5e8b657 Add client helpers to plugins 2019-07-24 10:58:16 +02:00
Chocobozzz 89c344dba4 Add ability to install a plugin from the admin page 2019-07-24 10:58:16 +02:00
Chocobozzz 6702a1b2cc Add ability to search available plugins 2019-07-24 10:58:16 +02:00
Chocobozzz b5f919ac8e WIP plugins: update plugin 2019-07-24 10:58:16 +02:00
Chocobozzz dba85a1e9e WIP plugins: add plugin settings/uninstall in client 2019-07-24 10:58:16 +02:00
Chocobozzz d00dc28dd7 WIP plugins: list installed plugins in client 2019-07-24 10:58:16 +02:00
Chocobozzz ffb321bedc WIP plugins: load theme on client side 2019-07-24 10:58:16 +02:00
Chocobozzz 7cd4d2ba10 WIP plugins: add theme support 2019-07-24 10:58:16 +02:00
Nassim Bounouas e1a1f9c623 Link to follower profile from administration (#1922)
* #1914 Link to follower profile from administration

* #1914 Link to follower profile opens in new tab
2019-06-20 11:38:41 +02:00
Chocobozzz 00aa1f0d9b
Add 4k conf in transcoding in admin panel 2019-06-12 17:26:23 +02:00
Chocobozzz ad3405d087
Improve 4K video quality after transcoding 2019-06-06 14:45:57 +02:00
Chocobozzz a6dbbf0386
Add list of instance follows in about page 2019-06-06 11:43:01 +02:00
Chocobozzz 432ebe8bdd
Merge branch 'release/v1.3.0' into develop 2019-05-21 11:21:56 +02:00
Chocobozzz 8c6781e956
Fix pagination in my videos page 2019-05-21 10:54:38 +02:00
Chocobozzz 536598cfaf
Add audio support in upload 2019-05-16 17:16:47 +02:00
Chocobozzz 1eddc9a74f
Add user adminFlags 2019-04-15 14:39:52 +02:00
Chocobozzz 28e0e40d2b
Fix privacy warning position on mobile 2019-04-15 09:43:23 +02:00
Chocobozzz 5d79474cc6
Add debug component to help admins to fix IP issues 2019-04-11 10:58:09 +02:00
Chocobozzz 2c22613c2f
Add logs page in client 2019-04-11 10:14:08 +02:00
Chocobozzz fd8710b897
Add logs endpoint 2019-04-10 16:38:32 +02:00
Chocobozzz 0dc6477758
Add delete/manual approval instance followers in client 2019-04-08 15:47:44 +02:00
Chocobozzz 693263e936
Refactor videos selection components 2019-04-05 10:53:08 +02:00
Chocobozzz e2409062de
Refactor video miniatures 2019-04-03 16:17:41 +02:00
Chocobozzz f421fa06ad
Update client dep 2019-04-02 17:39:21 +02:00
Chocobozzz a1a216d9cb
Upgrade server dep 2019-04-02 16:42:13 +02:00
Chocobozzz 489290b8b1
Restore videos list components 2019-04-02 11:45:02 +02:00
Josh Morel 7ccddd7b52 add quarantine videos feature (#1637)
* add quarantine videos feature

* increase Notification settings test timeout

to 20000ms. was completing 7000 locally but timing out
after 10000 on travis

* fix quarantine video test issues

-propagate misspelling
-remove skip from server/tests/client.ts

* WIP use blacklist for moderator video approval

instead of video.quarantine boolean

* finish auto-blacklist feature
2019-04-02 11:26:47 +02:00
Chocobozzz 7113b5cd32
Fix custom CSS help 2019-03-20 14:20:00 +01:00
Chocobozzz f8802489bb
Add isNSFW instance configuration key 2019-02-20 15:36:43 +01:00
Chocobozzz 41d713446c
Lazy import some modules 2019-02-15 15:52:18 +01:00
Chocobozzz 72be63e56f
Fix moderators that cannot access the muted servers table 2019-02-15 09:43:36 +01:00
Chocobozzz b426edd485
Cleanup reset user password by admin
And add some tests
2019-02-11 10:37:27 +01:00
Rigel Kent 67b1d3fed7
cleanup and remove paramSubs 2019-02-11 09:26:40 +01:00
Rigel Kent 2c2baef6f3
move user-password to Input decorator 2019-02-11 09:26:39 +01:00
Rigel Kent a3342ce250
remove isAdministration 2019-02-11 09:26:38 +01:00
Rigel Kent 328c78bc4a
allow administration to change/reset a user's password 2019-02-11 09:26:29 +01:00
Chocobozzz 0920929696 Add hls support on server 2019-02-11 09:13:02 +01:00
Chocobozzz 457bb213b2
Refactor how we use icons
Inject them in an angular component so we can easily change their color
2019-01-17 10:38:18 +01:00
Chocobozzz 3195cd1c11
Fix notification z-index on modals 2019-01-15 09:25:26 +01:00
Chocobozzz 1506307f2f
Increase abuse length to 3000
And correctly handle new lines
2019-01-14 16:48:38 +01:00
Chocobozzz 5abb9fbbd1
Add ability to unfederate a local video (on blacklist) 2019-01-10 15:39:51 +01:00
Chocobozzz 3866f1a02f
Add contact form checkbox in admin form 2019-01-10 11:32:38 +01:00
Chocobozzz 4707f410ae
Fix notification with large message 2018-12-20 11:18:29 +01:00
Chocobozzz f8b2c1b4f5
Refractor notification service
Shorter name and use primeng component
2018-12-19 17:26:52 +01:00
Chocobozzz 16c07398f2
Fix followers search 2018-12-13 15:00:42 +01:00
Chocobozzz 14e2014acc Support additional video extensions 2018-12-11 15:11:09 +01:00
Josh Morel fc2ec87a8c enable email verification by admin (#1348)
* enable email verification by admin

* rename/label to set email as verified

to be more explicit that admin is not sending
another email to confirm

* add update user emailVerified check-params test

* make user.model emailVerified property required
2018-11-21 08:48:29 +01:00
Chocobozzz 361805c48b
Fix checkbox margins 2018-11-19 14:34:36 +01:00
Chocobozzz 2fbe7f1933
Fix new Angular 7 issues 2018-11-15 09:25:32 +01:00