Commit Graph

1283 Commits (e854d57bed56bcbba4d191af54125ae6dd569a88)

Author SHA1 Message Date
Chocobozzz 4ec25ae825
Refactor last PR 2020-11-27 15:57:38 +01:00
Chocobozzz 68f6c87a27
Various front optimizations 2020-11-27 15:46:49 +01:00
Tanguy BERNARD 992f498e31
add title attribute for exact view counters (#3365) 2020-11-27 14:27:14 +01:00
Chocobozzz 69524f6ed1
Fix circular dep issue 2020-11-25 11:44:31 +01:00
kimsible c418d48300 Add new default different avatar for channel and account 2020-11-25 11:12:06 +01:00
Rigel Kent 5beb89f223 refactor scoped token service 2020-11-25 11:07:56 +01:00
Rigel Kent afff310e50 allow private syndication feeds via a user feedToken 2020-11-25 11:07:56 +01:00
Kimsible 123f619336
Add pixel size to tooltip and gif support with FFmpeg for avatar upload (#3329)
* Add avatar pixel size upload in tooltip

* Add gif support for avatar

* Add ffmpeg GIF process

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-11-25 09:26:31 +01:00
kimsible 01d0147ef5 Add tooltip to maximize button and remove grey background 2020-11-22 01:15:38 +01:00
Chocobozzz da2516fde1
Fix playlist update element dropdown ux 2020-11-20 14:38:57 +01:00
Chocobozzz 07098c33df
Improve playlist add dropdown ux 2020-11-20 14:32:57 +01:00
Chocobozzz 8b57efbf1b
Fix dropdowns z-index 2020-11-20 14:19:23 +01:00
Chocobozzz 939917705f
Add ability to bulk delete comments 2020-11-20 13:59:21 +01:00
Chocobozzz 3fba4b6bce
Fix no history message 2020-11-19 16:52:45 +01:00
Chocobozzz 4f926722ea
Upgrade client dependencies
Migrate removed primeng theme to custom CSS
2020-11-19 15:25:41 +01:00
Chocobozzz 4ddcb7c3ba
Fix video tag validator 2020-11-18 16:25:37 +01:00
Chocobozzz 0aa52e1707
Add ability to display all channel/account videos 2020-11-18 15:29:38 +01:00
Chocobozzz 4166caabc6
Clearer periods in videos list 2020-11-18 12:12:14 +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 47dc5db9c3
Fix client build 2020-11-17 14:52:57 +01:00
Kimsible f3081d6401
small refactor + clipboard copy on anchor click in instance page (#3318)
* Refacto scrollTo top and anchors

* Add on click clipboard copy and notifier to anchors about/instance page

* Fix margin top anchor middle title about page

* Use viewportscroller for scrolltoanchor

* Add  to Link copied notification on instance page

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-11-17 14:04:44 +01:00
Chocobozzz 805bec52cd
Replace keyboard shortcut icon
Use svg instead
2020-11-16 15:55:18 +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 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
Chocobozzz 5c0904fc66
Cleanup lives on server restart 2020-11-13 14:36:30 +01:00
Chocobozzz 17119e4a54 Reorganize left menu and account menu
Add my-settings and my-library in left menu
Move administration below my-library
Split account menu: my-setting and my library
2020-11-13 12:02:21 +01:00
Rigel Kent dc5bb5cea5
reword unclear sentences, check for grammar
fixes #3222
2020-11-12 21:09:28 +01:00
Chocobozzz 7a4ea93246
Remove deprecated abuse api 2020-11-10 14:50:16 +01:00
Chocobozzz 3bc68dfd61 Fix audio sync after saving replay
hls.js seems to not correctly handle audio gaps with fragmented mp4
(but can with a ts playlist)
2020-11-09 15:33:04 +01:00
Chocobozzz f8c00564e7 Add live info in watch page 2020-11-09 15:33:04 +01:00
Chocobozzz a056ca4813 Add max lives limit 2020-11-09 15:33:04 +01:00
Chocobozzz d846d99c6c Add modal to display live information 2020-11-09 15:33:04 +01:00
Chocobozzz da0310f821 Add thumbnail info if live 2020-11-09 15:33:04 +01:00
Chocobozzz b5b687550d Add ability to save live replay 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
Jeena dd1e2f2f96 Add possibility to share origin URL to video if it's not local
It's very difficult to share the original URL for a video when you watch it on your
own instance while it's not from it but from a different instance. Right now when
you use the share UI you only can share a link so a person can watch it on your
own instance, this patch adds a checkbox to the share UI to share the origin URL
instead if needed.
2020-10-29 09:06:40 +01:00
Rigel Kent 7f0d856169 jobs/logs view select and empty state visual improvements 2020-09-28 13:25:50 +02:00
Chocobozzz 30b1e10603
Fix privacy/channel select on upload 2020-09-04 10:47:52 +02:00
Chocobozzz 365d9083c9
Fix video block in abuse table 2020-08-26 08:45:48 +02:00
Chocobozzz d6eace77db Fix playlist element dropdown overflow 2020-08-25 14:42:16 +02:00
Chocobozzz 781ba98126 Add ability to set a description to dynamic fields 2020-08-21 15:39:51 +02:00
Chocobozzz 7294aab0c8 Add ability to set custom field to video form 2020-08-21 15:39:51 +02:00
Chocobozzz a9f6802e7d
Fix user video languages settings 2020-08-20 11:05:45 +02:00
Chocobozzz 2d0d756e85 Fix responsive playlist elements 2020-08-19 11:30:21 +02:00
Chocobozzz d142c7b9c0 Use playlistPosition for playlists instead of videoId 2020-08-19 11:30:21 +02:00
Chocobozzz 3c6a44a181 Fix video playlist resuming 2020-08-19 11:30:21 +02:00
Chocobozzz e79df4eefb Update playlist add component to accept multiple times the same video 2020-08-19 11:30:21 +02:00
Chocobozzz b75410b87d Fix playlist dropdown active color 2020-08-19 11:30:21 +02:00
Chocobozzz 50a1e91dcc Fix startAt/stopAt playlist element edition 2020-08-19 11:30:21 +02:00
Chocobozzz 60ea8f7a31 Fix playlist deletion 2020-08-19 11:30:21 +02:00
Chocobozzz 7ed1edbbe4 We don't need services anymore for validators 2020-08-17 15:12:55 +02:00
Kim 30d55e75ca
Add restore scroll position on user-dropdown anchors links and scroll to top on active sub-menu links (#3066)
* Add restore scroll position on router same url

* Remove settings top anchor

* Add scrollToTop on active links fixed sub-menu

* Add restore scroll position on notification avatar links

* Toggle menu and close pophover when click on active dropdown menu-left link

* Add onSameUrlRestoreScrollPosition on user dropdown channels link

* Same behavior scrollTop and scroll to anchor everywhere

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-08-17 10:13:31 +02:00
Chocobozzz 28fbb88f93
Fix css lint 2020-08-17 09:42:51 +02:00
test2a 39392b24e2
removed minimum width css to fit mobile devices with lesser width (#3090)
* Update instance-features-table.component.scss

removed this minimum width option because on mobile phones this resulted in page being larger than the phone width

* Update instance-features-table.component.scss

removed blank lines as requested
2020-08-17 09:34:08 +02:00
Chocobozzz b4c3c51dc8
Fix circular dependencies 2020-08-14 17:28:54 +02:00
kimsible c537763a23 Fix autoclose md popover when click on emoji list link inside 2020-08-14 15:03:38 +02:00
kimsible 3c176894ba Add markown compatible help icon in comment textarea 2020-08-14 15:03:38 +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
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
Chocobozzz 3d25d5de33
Move form modules in the form shared module 2020-08-11 09:54:42 +02:00
Chocobozzz 9abd170dec
Fix tags in search filters 2020-08-11 09:41:55 +02:00
Rigel Kent 02c01341f4 add ng-select for templatable select options
- create select-tags component to replace ngx-chips
- create select-options to factorize option selection in forms
- create select-channel to simplify channel selection
- refactor tags validation
2020-08-11 09:03:39 +02:00
kimsible 4abe9c593a Add validator channel name 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
Chocobozzz ae2dd04617
Correctly fix sub menu 2020-08-10 09:43:44 +02:00
Chocobozzz 82f443de1a
Add buttons in playlist page
To delete/edit/share the playlist
2020-08-10 09:43:44 +02:00
Chocobozzz 241c1a558c
Fix icon names 2020-08-07 14:55:55 +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 9e8929d633
adjust help component, fix its instances in video-edit 2020-08-05 11:23:37 +02:00
Rigel Kent 830c762bb6
reword intellectual property
fixes #3010
2020-08-04 21:20:46 +02:00
kimsible a7eaeae1dc Fix regression blocklist-accounts icon in sub-title 2020-08-03 16:52:40 +02:00
Chocobozzz 805d6a354b
Fix top menu dropdown 2020-07-31 13:39:42 +02:00
Chocobozzz 2f712d2bff
Fix build
(my bad)
2020-07-31 12:02:15 +02:00
Chocobozzz d573926e9b Add migrations for abuse messages 2020-07-31 11:35:19 +02:00
Chocobozzz 594d3e48d8 Add abuse messages/states notifications 2020-07-31 11:35:19 +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
kimsible 837fe4f3fb Revert user-menu dropdown active class on sub-menu and autoclose only on outside click 2020-07-31 11:31:45 +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 7b3909644d test search for subscriptions and video-channels 2020-07-29 18:15:53 +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
Rigel Kent 654a188f80 allow sorting notifications 2020-07-29 18:15:53 +02:00
Rigel Kent 292c17b894 fix margin-left for edit-button 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 a949f67636
correct regressions on sub-menu for account and admin (#3004) 2020-07-24 23:29:39 +02:00
Kim 2e7f262724
Display user quota progress bars above upload form (#2981)
* Move user-quota to my-user-quota shared component

* Add user-quota to upload form

* Increase progress bar height and make it focusable

* Correct syntax parenthesis

* Add explicit title to user-quota bars + tooltip with quota values

* Hide user-quota in second upload step

* Customize focus styles on user-quota

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-24 08:53:25 +02:00
Kim b40a219338
Hide generic channel display name and avatar on watch view (#2988)
* Hide generic channel display name on watch view

* Hide generic channel avatar on watch view

* Add Default username channel as a generic channel display-name

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-24 08:49:59 +02:00
Chocobozzz f4a2dc5092
Fix compilation 2020-07-23 15:35:18 +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 cd801c6907 Correct action button selection mode styles 2020-07-20 16:57:47 +02:00
kimsible b5366b3c7e Correct maximized icon padding since new icons set implemented 2020-07-20 16:56:59 +02:00
Chocobozzz 0bdad52fbb
Fix issues with external links in search page 2020-07-20 11:37:06 +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 d95d155988 Use 3 tables to represent abuses 2020-07-10 14:02:41 +02:00
Chocobozzz 72493e44e9
Fix embed url 2020-07-10 11:13:41 +02:00
Rigel Kent ea7337cfde
add check-params test for user list
fixes #2918
2020-07-03 10:29:03 +02:00
Rigel Kent 2b587cad93
align feed icons to the right for video listings 2020-07-02 19:45:21 +02:00
Rigel Kent 2d011d94aa
rename rss 2.0 to media rss 2.0 2020-07-02 16:30:52 +02:00
Chocobozzz 35f0a5e665
Fix player menu on mobile 2020-07-02 15:10:06 +02:00
Chocobozzz 57e56eb294
Fix lint 2020-07-02 10:35:05 +02:00
Chocobozzz 41bec13718
Don't reload videos on mute 2020-07-02 10:25:35 +02:00
Rigel Kent 0a4cb95c98 simplify navigation within most admin menus 2020-07-02 09:22:59 +02:00
Rigel Kent 6c808af9a2 fix reactive file upload button 2020-07-01 17:03:48 +02:00
Rigel Kent 1fe1e14cb3 fix video update button, add color to danger zone 2020-07-01 17:03:48 +02:00
Rigel Kent c41c0e28ed switch from softies to feathericons
also organize icons in folders per origin
2020-07-01 17:03:48 +02:00
Rigel Kent d473fd94ce
allow muting from the miniature options
initial implementation with a listing refresh except on search results
2020-06-28 16:55:17 +02:00
Rigel Kent 0350384781
replace current ownership transfer icon with softies forward icon 2020-06-28 14:15:38 +02:00
Rigel Kent 0242861ece
add user account-blocklist missing scss mixin 2020-06-28 00:53:36 +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
Chocobozzz 1ba471c55f
Add videos count in channels list 2020-06-16 14:13:01 +02:00
Chocobozzz c4a6f7901c
Add channel information in my videos 2020-06-16 11:44:54 +02:00
Chocobozzz 5c20a45518
Fix anonymous nsfw policy 2020-06-16 11:26:46 +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
Rigel Kent 435258ea3c
fix miniature fixed height, add link/title to avatar, remove pr-2 on channels list 2020-06-12 09:51:16 +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
Caroline Chuong 45800f7e63
add scope tags and aria-labels to instance table (#2866)
also move label to caption element in table
2020-06-11 18:12:52 +02:00
Chocobozzz cf78883c70
Limit thumbnail sizes 2020-06-11 16:41:51 +02:00
Rigel Kent a7257b0e3e
prevent video-bottom overflow in video-miniature 2020-06-11 12:23:01 +02:00
Rigel Kent e95bede8fe
support type as override to search in listBlocks 2020-06-10 21:12:09 +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 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
Rigel Kent c2caa99b94
Add channel/account avatars in miniature (#2838)
* add small avatar to miniature

* fix svg size for trending and search icons in plugins view

* parametrize avatar in miniature display options
2020-06-08 08:52:06 +02:00
Chocobozzz 3e95b68343
Fix default anonymous theme 2020-06-05 09:15:59 +02:00
Chocobozzz 92128fff7e
Fix config form issue with index URL 2020-06-05 09:10:05 +02:00
Rigel Kent 80c7779efe
fix mascot sizes, fix tick, delete extraneous .png icons
follows PR #2822
2020-06-04 20:57:10 +02:00
Chocobozzz cdd8f7790c
Merge branch 'release/2.2.0' into develop 2020-06-02 09:00:39 +02:00
Chocobozzz fa11e79d4a
Fix regression scrollbar bgcolor mdtextarea maximized-mode
By kimsible
2020-06-02 08:56:00 +02:00
Chocobozzz 2a39506c7d
Revert "Remove oc locale support"
This reverts commit 8323c435c1.
2020-05-29 17:09:55 +02:00
Chocobozzz 923ff87da2 Add bulk comment actions on account dropdown 2020-05-29 09:21:26 +02:00
Chocobozzz c123027fd9
Fix grey color theme 2020-05-22 11:21:55 +02:00
Chocobozzz fd8f73cf6d
Fix lint 2020-05-22 08:50:31 +02:00
Chocobozzz f33dc6ab2d
Fix input/textarea themes 2020-05-20 13:52:12 +02:00
Chocobozzz 3bf07dd8c2
Explicit theme colors for inputs and textarea 2020-05-20 11:39:31 +02:00
Chocobozzz 6189b699fb
Fix broken client when cookies are disabled 2020-05-20 10:37:46 +02:00
Chocobozzz 5ff523664f
Fix user dropdown overflow 2020-05-11 18:05:16 +02:00
Chocobozzz 3b072f5a9d
Fix top menu dropdown hovering 2020-05-11 11:24:55 +02:00
Kim 8544d8f561
Fix regression my-account menu overflow-x on screen width < 800px (#2707)
* Fix: correct my-account menu overflow-x on touchscreens

* Add menuLeftDisplayed support for account-sub-menu

* Handle menu in screen service + clean top-menu-dropdown

* Add comment on menuWidth menu service to allow backtracking

Co-authored-by: Rigel Kent <par@rigelk.eu>

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Rigel Kent <par@rigelk.eu>
2020-05-11 11:12:58 +02:00
kimsible 70afd522ba Fix displaying more dropdown on touchscreen 2020-05-11 11:11:06 +02:00
kimsible bedf0e6073 Add edit button to scroll watch playlist on touchscreens 2020-05-11 11:11:06 +02:00
Chocobozzz 3cc665f48f
Add last login date to users 2020-05-07 10:39:09 +02:00
Chocobozzz feb34f6b6b Use video abuse filters on client side 2020-05-07 08:33:34 +02:00
Chocobozzz d4eea02801
Fix relative links in video description 2020-05-06 14:21:10 +02:00
Chocobozzz d056b01956
Fix mobile miniature information margin 2020-05-06 10:15:13 +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
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 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 0d3a2982a9 Switching to a named filters/single input on video-abuse 2020-05-04 15:01:44 +02:00
Rigel Kent c2a89b70ce
Fix margin-content and miniature thumbnail width on mobile, fix media queries for tables above lg breakpoint 2020-05-01 23:24:05 +02:00
Rigel Kent 0251197e24 Factorize rest-table and fix/simplify SQL 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 e0a929179a Add filter inputs for blacklisted videos and muted accounts/servers 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 988af781ac Rename duplicate to more universal mirror, add to miniature for quick access by admins 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
Kim 165ee2929b
Fix tables width, paginators, button on mobile / touchscreens (#2695) 2020-05-01 10:45:07 +02:00
Kim d363ef5360
Use modal instead of dropdown menu in small/mobile views (#2674)
Co-Authored-By: Rigel Kent <par@rigelk.eu>
2020-04-30 19:23:54 +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 4682468d4d
Fix broken views on mobile and small screens (#2671)
* Fix mobile CSS for my-account-settings

* Fix mobile CSS for my-account-videos

* Fix mobile CSS my-account-video-channels

* Fix mobile CSS for my-account-playlists

* Fix CSS mobile for user-subscriptions header

* Fix CSS mobile my-account-video-channel-edit

* Fix CSS mobile / small view for textarea

* Fix margin-right my-delete-button on inside span

* Fix CSS mobile on accounts page

* Fix indent

* Fix CSS mobile for my-account-notifications

* Fix CSS mobile / small view my-account-videos

* Fix search small-view channels

* Use miniature width for title of video on mobile

* Add dots to ellipsis multilines

* Fix controls and title video width small views

* Fix my-account-playlist small and mobile views

* Fix channels header + account header mobile

* Fix CSS mobile/small view for my-account/subscriptions

* Fix align followers channel item

* Center header elements user account page on mobile

* Fix margins on a element and img

* Fix margin img channel or video

Co-Authored-By: Rigel Kent <par@rigelk.eu>

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Rigel Kent <par@rigelk.eu>
2020-04-27 14:57:50 +02:00
Chocobozzz 891bc2ffad
Support rel="me" links in markdown 2020-04-16 16:13:28 +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
Rigel Kent 471ee39496
Fix lint 2020-04-14 01:38:41 +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
Rigel Kent 66be521333
Revert 41a94d0, keep the fix for years 2020-04-12 11:10:44 +02:00
Rigel Kent 1242fd55f9
Improve from-now pipe readability 2020-04-11 19:05:11 +02:00
Rigel Kent 41a94d07f0
Refactor from-now pipe to display the two most significant intervals 2020-04-11 16:05:50 +02:00
Rigel Kent 62eacb4209
Place private/unlisted labels in thumbnail instead of miniature 2020-04-11 16:05:50 +02:00
Chocobozzz 8e11a1b37c
Fix sort in admin tables 2020-04-08 10:49:26 +02:00
Chocobozzz 9870329f69
Fix playlist autoplay 2020-04-08 09:41:43 +02:00
Rigel Kent 947d01023d
Improve channel and account display on medium devices 2020-04-03 14:13:28 +02:00
Rigel Kent 22a59f33de
Fix help component border 2020-04-03 00:18:15 +02:00
Rigel Kent 6f02515e2a
Enlarge right column in video-edit on small screens 2020-04-02 17:55:03 +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
Chocobozzz 4adebd513e
Client dependencies upgrade 2020-04-01 14:06:46 +02:00
Rigel Kent 3d527ba173 Use inner join and document code for viewr stats for channels 2020-03-31 10:29:24 +02:00
Rigel Kent 747c562837 Put channel stats behind withStats flag 2020-03-31 10:29:24 +02:00
Rigel Kent 8165d00ac6 View stats for channels 2020-03-31 10:29:24 +02:00
Rigel Kent 76314386ae
Add overview of a user's actions in user-edit (#2558) 2020-03-27 15:19:03 +01:00
Rigel Kent 5411da31d1
Describe user video settings checkboxes, put emphasis on p2p
Also improve more info links about p2p and privacy in PeerTube,
present in the privacy concern notice and in the video settings.
2020-03-23 23:43:53 +01:00
Chocobozzz 03db5c3f97
Correctly format video duration 2020-03-18 15:46:48 +01:00
Rigel Kent c9ad38f4cb
Declutter interface, hide RSS until hovering section title 2020-03-11 22:31:17 +01:00
Chocobozzz 111fdc267b
Handle overview pagination in client 2020-03-11 16:45:09 +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 482fa503e5 Use grid to organise settings in admin, my-account 2020-03-10 16:23:40 +01:00
Rigel Kent 3b20bdd6dc Servicify menu, close menu on admin for small and medium screens 2020-03-10 16:22:52 +01:00
Rigel Kent 8319d6ae72
Add video file metadata to download modal, via ffprobe (#2411)
* Add video file metadata via ffprobe

* Federate video file metadata

* Add tests for file metadata generation

* Complete tests for videoFile metadata federation

* Lint migration and video-file for metadata

* Objectify metadata from getter in ffmpeg-utils

* Add metadataUrl to all videoFiles

* Simplify metadata API middleware

* Load playlist in videoFile when requesting metadata
2020-03-10 14:39:40 +01:00
Rigel Kent 54e7884775
Normalize modal close buttons, and cancel/submit button styles 2020-03-06 16:58:55 +01:00
Rigel Kent 25ae4f9572
Remove title attribute from thumbnail in video miniature 2020-03-06 11:50:20 +01:00
Rigel Kent 288c78eaae
Always copy full actor handle in video-channels view 2020-03-05 23:49:12 +01:00
Chocobozzz 340ce5c52f
Fix i18n generation 2020-02-28 14:09:18 +01:00
Rigel Kent d3217560a6
Add visitor settings, rework logged-in dropdown (#2514)
* Add visitor settings, rework logged-in dropdown

* Make user dropdown P2P switch functional

* Fix lint

* Fix unnecessary notification when user logs out

* Simplify visitor settings code and remove unnecessary icons

* Catch parsing errors and reindent menu styles
2020-02-28 13:52:21 +01:00
Rigel Kent 555fdc8c79
Provide z-index centralisation for lower components 2020-02-21 21:25:55 +01:00
Filip Bengtsson 97eae8382e
Mark additional strings as translatable (#2507) 2020-02-21 18:51:05 +01:00
Rigel Kent 80adb0366f
Properly hide Watch Later when user logs out 2020-02-19 09:33:49 +01:00
Rigel Kent 71e75ef27e
Fix search parameter initialisation for search-typeahead 2020-02-18 14:33:07 +01:00
Chocobozzz 2ad9dcda24
Merge branch 'release/2.1.0' into develop 2020-02-17 15:34:42 +01:00
Chocobozzz ec10e8ed5b
Fix playlist cache error 2020-02-17 11:47:47 +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 8a979d73c3
Simplify code for search-typeahead 2020-02-13 16:48:46 +01:00
Rigel Kent 9b8a7aa8ea
Improve search typeahead performance and use native events 2020-02-13 16:35:24 +01:00
Rigel Kent 9677fca772
Make the search helper change based on the server config 2020-02-13 16:32:58 +01:00
Rigel Kent f409f0c3b9
Search typeahead initial design 2020-02-13 16:32:21 +01:00
Chocobozzz 68ca61941e
Fix list overflow when refreshing the page 2020-02-13 10:41:43 +01:00
Rigel Kent 24e7916c68 Add ListOverflow component to prevent sub-menu overflow 2020-02-13 10:25:22 +01:00
Chocobozzz 7811819b1a Use angular 9 clipboard cdk 2020-02-10 16:39:28 +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
Chocobozzz 2f5d2ec5ea Update to angular 9 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 c910f667d2
Add origin instance URL in watch page 2020-01-29 13:59:40 +01:00
Chocobozzz b764380ac2 Add ability to list redundancies 2020-01-28 11:35:26 +01:00
Chocobozzz 44d4ee4fcb
Fix e2e tests 2020-01-23 14:59:44 +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
Rigel Kent f8b65c22a9
Fix OnInit for subscribe button
Fixing regression introduced in a004ff1726
that initialized component for accounts with no channels before changing
the input a second time.
2020-01-14 10:58:42 +01:00
Chocobozzz ab4d4db44a
Avoid follow SQL conflicts 2020-01-10 13:34:20 +01:00
Chocobozzz db84cf89bc
Fix client build 2020-01-10 13:34:18 +01:00
Rigel Kent 2d0d88a0cb
Fix subscribe-button for logged-out users 2020-01-10 11:42:53 +01:00
Chocobozzz 62fca05de4
Fix default avatar URL 2020-01-10 10:30:39 +01:00
Rigel Kent 9270ccf6dc Make subscribe buttons observe subscription statuses to synchronise 2020-01-10 10:12:09 +01:00
Rigel Kent b061c8edb0 Add extra text to button when partially subscribed to all channels 2020-01-10 10:12:09 +01:00
Rigel Kent 41eb700fce Refactor my-subscribe-button to support full account subscription 2020-01-10 10:12:09 +01:00
Rigel Kent fc2df421a9
Better placement for help tooltip 2020-01-09 16:54:59 +01:00
Chocobozzz f44a284a3e
Fix playlist observable cache 2020-01-09 14:06:29 +01:00
Chocobozzz 240458d0c9
Remove ElementEvent 2020-01-09 09:30:08 +01:00
Chocobozzz 6b0c3c7ca9
Optimize list my playlists SQL query 2020-01-09 09:27:21 +01:00
Rigel Kent c511c3f010 Show default avatar on network error for comments 2020-01-09 09:25:32 +01:00
Chocobozzz fb770ff9e6
Remove useless translation 2020-01-09 08:51:24 +01:00
Rigel Kent 5c7a411c45
Set a default background color for account avatar
fixes #2392
2020-01-08 22:57:46 +01:00
Chocobozzz f332ffa2a2
Generate translations 2020-01-08 20:00:52 +01:00
Chocobozzz e612209767
Try to fix subscriptions inconsistencies 2020-01-08 15:44:41 +01:00
Chocobozzz 440d39c52d
Skip videos count on client if we don't use it 2020-01-08 14:40:08 +01:00
Rigel Kent 8ba9c205ba Add option to download subtitles in download modal 2020-01-07 17:09:21 +01:00
Rigel Kent df8340b7b8 Add duration to video attributes in watch view 2020-01-07 14:47:50 +01:00
Rigel Kent 13adf228d0
Add button in subscriptions to go to subscriptions list 2020-01-07 12:12:43 +01:00
Chocobozzz 218b0874ed
Add get user cache for comments 2020-01-06 16:13:26 +01:00
Chocobozzz bc6f886347
Fix mark all as read notifications 2020-01-06 15:59:17 +01:00
Chocobozzz 93d54cc769
Align search field with checkboxes in playlist add 2020-01-06 15:14:25 +01:00
Chocobozzz 51b34a11b2
Share playlists state 2020-01-06 13:34:08 +01:00
Rigel Kent 46db9430af
Add checkbox focus shadows, and admin resolution descriptions 2020-01-06 12:41:14 +01:00
Chocobozzz b7819090de
Move watch later logic in miniature 2020-01-03 15:01:17 +01:00
Rigel Kent 3fbba1d28a
Display all miniature actions on hover and focus 2020-01-02 16:26:18 +01:00
Rigel Kent 29128b2f5c
Add miniature quick actions to add video to Watch later playlist 2020-01-02 14:50:14 +01:00
Rigel Kent 9d45db2919
Fix my-account{videos,video-playlists} loading mecanism 2019-12-29 02:10:17 +01:00
Rigel Kent bf64ed4196
Add search bars for a user's videos and playlist library 2019-12-28 01:10:26 +01:00
Rigel Kent c1125bcadc
Add comment filtering by reply count 2019-12-27 17:02:44 +01:00
Chocobozzz f27a885a43
Better error message in videos list 2019-12-27 13:10:50 +01:00
Rigel Kent edf1a4e520 Add user moderation dropdown to comments 2019-12-27 10:11:10 +01:00
Rigel Kent c06af5012e
Add playlist search option and search input for add-to-video-playlist dropdown
fixes #2138
2019-12-26 11:52:52 +01:00
Rigel Kent 5def76ebba
Add autoplay tooltip, use of flex-wrap in video-info and other-videos 2019-12-21 09:25:02 +01:00
Rigel Kent 3921166d78
(css) vertical-center modals, bullet as separator 2019-12-20 21:15:28 +01:00
Rigel Kent 223b24e618
Fix upnext, refactor avatar menu, add to playlist overflow 2019-12-20 17:49:57 +01:00
Rigel Kent c5c09c1e50
fix deleted comment layout and its notification display 2019-12-19 18:08:21 +01:00
Rigel Kent 10475dea7d
improve notification popup interactivity: read all, layout, position
fixes #1730
2019-12-19 14:53:01 +01:00
Rigel Kent 96f6278f3e
respect video history on explicit playlist click
also correct font-weight for .title-page-single, and tooltip dynamic
text for playlist loop button.

fixes #1889
2019-12-18 23:39:11 +01:00
Chocobozzz ba430d7516
Lazy load static objects 2019-12-18 15:40:59 +01:00
Rigel Kent 5dfb7c1dec
Add commentor name alongside fid for video comments 2019-12-18 13:28:29 +01:00
Rigel Kent c8277d7139
(css) optimize .other-videos width 2019-12-17 22:42:19 +01:00
Rigel Kent b29bf61dbd Provide native links for description timestamps, and re-clickability for these 2019-12-17 09:45:02 +01:00
Lesterpig d68ebf0b4a Add hyperlink video timestamps in description
Fix #1312 (duplicates: #1728 and #2007)
The modification is also applied to comments and video editing.
2019-12-17 09:45:02 +01:00
Rigel Kent dd4f25eea8
add channel avatar to watch view 2019-12-15 21:58:11 +01:00
Chocobozzz dbdf2d51c6
Add peertube version in features table 2019-12-13 10:19:41 +01:00
Rigel Kent 88a7f93f8e add loop setting for playlists, and use sessionStorage 2019-12-13 09:13:43 +01:00
Rigel Kent bee29df8a9 autoplay next video support for playlists 2019-12-13 09:13:43 +01:00
Chocobozzz 22a73cb879
Add internal privacy mode 2019-12-12 16:51:59 +01:00
Chocobozzz 1aa7543403
Support basic markdown in comments 2019-12-09 11:21:39 +01:00
Rigel Kent 41f8f6207a miniature duration visibility and overlay background opacity 2019-12-09 09:16:08 +01:00
Chocobozzz 39aad8cc85
Don't seed on cellular networks 2019-12-06 17:25:15 +01:00
Chocobozzz 3131c13e02
Don't support images in account descriptions 2019-12-06 14:01:28 +01:00
Chocobozzz 7e049ea467
Handle HTML in account descriptions 2019-12-06 13:57:57 +01:00
Chocobozzz 3d216ea0f7
Fix dropdown on video miniature for unlogged users 2019-12-06 11:07:30 +01:00
Chocobozzz c2023a9f02
Add ability to update icons content 2019-12-05 17:26:58 +01:00
Chocobozzz 3a1fed11c5
Support playlists in share modal 2019-12-05 10:05:00 +01:00
Chocobozzz 689a4f6946
Pause the video when a modal is opened 2019-12-05 09:21:09 +01:00
Chocobozzz 64ff48cb8d
Change the support icon 2019-12-03 18:54:49 +01:00
Chocobozzz eccf70f020
Fix private video download 2019-12-03 10:41:23 +01:00
Chocobozzz 97ecddae10
Filter on follows actor types in about page 2019-11-29 10:55:17 +01:00
Chocobozzz f5b72c3937
Fix brackets truncation in video description 2019-11-29 10:18:40 +01:00
Chocobozzz b8f4167fb6
Only display accepted followers/followings in about page 2019-11-28 11:37:32 +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
Chocobozzz efcd6f2e62
Fix fragmented download URL 2019-11-25 10:59:50 +01:00
Chocobozzz 5a71acd254
Disable webtorrent support in client 2019-11-25 10:59:46 +01:00
Chocobozzz ee2b7df045
Try to improve notification i18n translations 2019-11-18 17:38:01 +01:00
Chocobozzz 9ea6541488
Add class to views elements 2019-10-25 11:12:15 +02:00
Chocobozzz ce78f1f6f0
More robust new instance follower notification 2019-10-25 09:45:38 +02:00
Julien Maulny e805020896 Allow to toggle video publication date to display absolute date 2019-10-23 10:47:34 +02:00
Autom 4386e66e55 Fix typo
Fixing a typo in the statistics section of the /about/instance/ page.
2019-10-21 08:55:12 +02:00
Julien Maulny 3d05209c9a Add statistics section in about page 2019-10-18 15:13:30 +02:00
Frank Sträter 405ec98b91 Change button with onclick to link with href 2019-10-18 10:30:28 +02:00
LoveIsGrief 6aa5414813 Autoplay next recommended video (#2137)
* Start working on autoplay of next video

* Ignore changes made by gitpod

* Apply changes from PR#1370

* Correct the spelling of recommendations

* Fix linting errors

* Move boolean check to existing onEnded handler

* Pick a random video until the recommendations are improved

* Add simple tests for autoPlayNextVideo

* Fix lint

...again
2019-09-24 08:48:01 +02:00
Lukas Winkler 32d7f2b754 fix a few typos (#2141)
* fix a few typos

* apply changes to original files instead

* additional correction
2019-09-23 08:17:42 +02:00
Chocobozzz 2e0fdd27e0
Add missing translation tags 2019-09-18 15:52:54 +02:00
Chocobozzz 1eb23e12f7
Add contributors in about peertube page 2019-09-05 15:40:09 +02:00
Chocobozzz 5819e694ba
Better video publishing notification 2019-09-05 10:30:51 +02:00
Chocobozzz 43d35494b5
Fix old auto blacklist notifications 2019-09-05 10:20:14 +02:00
Chocobozzz 00aab0666c
Merge branch 'release/1.4.0' into develop 2019-09-05 10:19:35 +02:00
Chocobozzz be04c6fdab Add hardware information in instance config 2019-09-05 10:17:02 +02:00
Chocobozzz 43d0ea7f4b Add welcome modal 2019-09-05 10:17:02 +02:00
Chocobozzz bc20aaed46 Fix register checkbox 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 a00045a218 Improve features table 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 8424c4026a Add auto follow back support for instances 2019-09-04 16:24:58 +02:00
Chocobozzz dedc7abb7b
Fix auto blacklist view 2019-09-04 15:03:50 +02:00
Chocobozzz 60c2bc80b8
Go back when cancel NSFW modal
Instead of redirecting on the homepage
2019-08-22 17:14:44 +02:00
Chocobozzz 6eb62c3390
Fix video rows overflow
In discover and account channel videos pages
2019-08-22 13:59:54 +02:00
Chocobozzz a3671f0709
Fix video playlist element removal 2019-08-22 11:33:18 +02:00
Chocobozzz 0c503f5c87
Fix bad import on FF ESR 2019-08-20 09:01:19 +02:00
Chocobozzz c5407d7046
Fix playlist more button with long video names 2019-08-09 08:28:22 +02:00
Chocobozzz ad453580b2
Fix infinite scroll on big screens 2019-08-02 14:49:25 +02:00
Chocobozzz dd570a34ff
Fix search results on mobile 2019-08-02 11:40:29 +02:00
Chocobozzz 44b88f180b
Fix broken follow notification 2019-08-02 09:46:48 +02:00
Chocobozzz 65af03a241
Automatically update playlist thumbnails 2019-08-01 16:54:24 +02:00
Chocobozzz bfbd912886 Fix broken playlist api 2019-08-01 09:11:04 +02:00
Chocobozzz a95a4cc891
Moderators can only manage users 2019-07-30 09:59:19 +02:00
Chocobozzz dc89026348
Add show channel button in account page 2019-07-29 17:12:18 +02:00
Chocobozzz 8e8eb2614b
Fix help transcoding placement 2019-07-29 16:41:25 +02:00
Chocobozzz 34dd7cb4ca
Fix quota in instance features table 2019-07-29 16:30:01 +02:00
Chocobozzz d75db01f14
Add plugin translation system 2019-07-26 15:18:30 +02:00
Chocobozzz c8861d5dc0
Fix express validator 2019-07-25 16:23:44 +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
Chocobozzz 93cae47925 Add client hooks 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 7cd4d2ba10 WIP plugins: add theme support 2019-07-24 10:58:16 +02:00
Nassim Bounouas 4e9fa5b7e9 Feature/subject in contact form (#1926)
* #1915 Add a subject to contact form and add it to email sent

* #1915 Add subject to contact form tests

* #1915 Contact form test corrected && tslint correction
2019-06-21 08:49:35 +02:00
Chocobozzz ac84064a6c
Fix follows backend URL
And improve "no followers/followings" message position
2019-06-20 08:51:41 +02:00
Chocobozzz 3caf77d3b1
Add language filters in user preferences 2019-06-19 15:05:36 +02:00
Nassim Bounouas e379f813d4 Feature/completeUsernameCopy (#1913)
* #1843 Copy icon added to account page to copy Username

* #1843 Store an account name with the host forced and bind it to copy button

* #1843 tslint correction

* #1843 copy to clipboard replaced by ngx-clipboard
2019-06-19 14:57:39 +02:00
Chocobozzz db714ab48a
Fix notification overflow 2019-06-13 09:21:18 +02:00
Chocobozzz 2f4c784a92
Add params to share modal 2019-06-12 16:44:15 +02:00
Chocobozzz 0ba5f5baad
Add ability to change email in client 2019-06-11 14:31:12 +02:00
Chocobozzz 7c51916a61
Remove magnetURI download support
Since most BitTorrent clients are not able to download files from it
2019-06-11 10:46:33 +02:00
Chocobozzz 1f20622f2b
Improve registration
* Add ability to set the user display name
 * Use display name to guess the username/channel name
 * Add explanations about what is the purpose of a username/channel name
 * Add a loader at the "done" step
2019-06-07 17:05:42 +02:00
Chocobozzz b91bc1d1f3
Merge branch 'release/v1.3.0' into develop 2019-06-07 15:04:41 +02:00
Chocobozzz e5b432e04e
Fix black theme on some screens 2019-06-07 11:44:43 +02:00
Chocobozzz 4adf26735f
Fix error in form when scheduling video publication 2019-06-07 11:35:06 +02:00
Chocobozzz f238aec54f
Fix video action dropdown 2019-06-07 11:08:56 +02:00
Chocobozzz 3ddb1ec555
Try to fix remote mastodon interactions 2019-06-07 10:57:33 +02:00
Chocobozzz a6dbbf0386
Add list of instance follows in about page 2019-06-06 11:43:01 +02:00
Chocobozzz 93aa85521a
Prefer using last week/last month 2019-06-06 11:43:00 +02:00
Chocobozzz 4e0c179365
Fix grouped videos by date 2019-06-06 11:43:00 +02:00
Chocobozzz ee79b60e4e
More robust federation
In particular when fetching pleroma outbox
2019-05-31 15:17:04 +02:00
Chocobozzz 57cfff7885
Remove unused actor uuid field 2019-05-31 14:49:31 +02:00
Chocobozzz 34c7f429e4
Group videos on chronological order 2019-05-31 11:15:50 +02:00
Chocobozzz c8487f3f63
Improve account channel page
Set it as the default route for account page. The main goal is to better
differentiate the channel page from the account page. With the channel
page set as default, I hope people will better understand they are in
the account page, and that this account could have multiple channels.
2019-05-29 16:45:59 +02:00
Chocobozzz 1d5342abc4
Multi step registration 2019-05-29 11:19:54 +02:00
Chocobozzz 53da063049
Merge branch 'release/v1.3.0' into develop 2019-05-24 14:31:10 +02:00
Chocobozzz 78d60e6384
Fix build 2019-05-24 14:28:10 +02:00
Chocobozzz 625a98bc4a
Fix method names 2019-05-24 14:25:12 +02:00
Chocobozzz f5b37c3ec2
Fix method names 2019-05-24 14:24:00 +02:00
Chocobozzz 86aafd06f2
Merge branch 'release/v1.3.0' into develop 2019-05-24 12:02:45 +02:00
Chocobozzz 624bca15fb
Fix duplicates in playlist add component (release branch) 2019-05-24 12:02:34 +02:00
Chocobozzz 8d51015bd0
unload -> reload in playlist add component 2019-05-24 11:52:19 +02:00
Chocobozzz b6e342d5c6
Fix duplicates in playlist add component 2019-05-24 11:49:53 +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 73b3aa6429
Merge branch 'feature/audio-upload' into develop 2019-05-21 10:05:12 +02:00
Chocobozzz 618750486e
Fix icon color on audio upload 2019-05-21 10:04:52 +02:00
Chocobozzz fd822c1c69
Merge branch 'release/v1.3.0' into develop 2019-05-21 09:34:02 +02:00
Chocobozzz 1c8ddbfaa0
Reset playlist add component when video changes 2019-05-17 14:34:21 +02:00
Chocobozzz b345a8047b
Add audio upload tests 2019-05-17 14:04:54 +02:00
Chocobozzz 7b992a86b1
Support audio upload in client 2019-05-17 10:45:53 +02:00
Leo Mouyna 11b3f14c75 fix: Close modal after clicking on download
Use the NgActiveModal method to close it on a click by adding a specific
modalActive object and use it on download function.

See issue: Chocobozzz#1436
2019-05-16 09:12:58 +02:00
Chocobozzz 6565916605
Use HLS by default if enabled 2019-05-14 11:35:54 +02:00
Chocobozzz 4da22f64e7
Lazy load dropdown info on click
Instead of mouseenter
2019-05-13 15:18:11 +02:00
Chocobozzz 72675ebe01
Move video watch playlist in its own component 2019-05-13 11:19:29 +02:00
Chocobozzz 64545a834b
Fix top menu dropdown 2019-05-13 09:45:37 +02:00
Chocobozzz 743f023c53
Fix videos more dropdown position/loading 2019-05-13 09:45:37 +02:00
Chocobozzz 98000f10e7
Fix dropdown top menu on mobile 2019-04-25 10:02:02 +02:00
Chocobozzz 5fb6996b81
Add default playlist image 2019-04-24 16:26:23 +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 2b3f1919fd
Fix videos list margin with hidden menu 2019-04-11 10:21:45 +02:00
Chocobozzz 2c22613c2f
Add logs page in client 2019-04-11 10:14:08 +02:00
Chocobozzz 31b6ddf866
Add ability to disable tracker 2019-04-10 09:23:18 +02:00
Chocobozzz 8ce1ba6e3e
Add new instance follower notification in client 2019-04-09 10:42:07 +02:00
Chocobozzz 846751c98b
Add newInstanceFollower in notification settings 2019-04-09 08:19:54 +02:00
Chocobozzz abf325b4f6
Fix privacy label display 2019-04-08 09:33:37 +02:00
Chocobozzz 0f4905e120
2 rows per overview section 2019-04-05 17:00:09 +02:00
Chocobozzz 32157c0892
Add auto blacklist info in feature table 2019-04-05 15:45:50 +02:00
Chocobozzz 3143ae17a0
Improve playlist element style 2019-04-05 15:23:41 +02:00
Chocobozzz 8dfceec44a
video add to playlist component -> onpush strategy 2019-04-05 14:16:48 +02:00
Chocobozzz 3a0fb65c61
Add video miniature dropdown 2019-04-05 10:53:09 +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 8fc02e4768
Set thumbnail height 2019-04-03 14:18:23 +02:00
Chocobozzz 11dd0c2e42
Improve abstract videos list
Better responsive and align miniatures to the left
2019-04-03 13:25:52 +02:00
Chocobozzz c47106315a
tslint update 2019-04-02 18:30:26 +02:00
Chocobozzz f421fa06ad
Update client dep 2019-04-02 17:39:21 +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 a55052c9ba
Add my library section in menu 2019-03-20 13:53:51 +01:00
Chocobozzz 978c9d497b Add playlist channel validator when playlist is public 2019-03-18 11:17:59 +01:00
Chocobozzz bce47964f6 Add video channel view 2019-03-18 11:17:59 +01:00
Chocobozzz e2f01c47e0 Playlist support in watch page 2019-03-18 11:17:59 +01:00
Chocobozzz 15e9d5ca39 Playlist reorder support 2019-03-18 11:17:59 +01:00
Chocobozzz c5a1ae500e Playlist videos component 2019-03-18 11:17:59 +01:00
Chocobozzz f0a3988066 Add to playlist dropdown 2019-03-18 11:17:59 +01:00
Chocobozzz 830b4faff1 Add/update/delete/list my playlists 2019-03-18 11:17:59 +01:00
Chocobozzz 9c6ca37fc1 Rename streaming playlists routes/directories 2019-03-18 11:17:59 +01:00
Chocobozzz c8000975d3
Add NSFW info in about page 2019-02-21 15:51:28 +01:00
Chocobozzz c0e04e4641
Move user registration info in features table 2019-02-21 15:00:26 +01:00
Chocobozzz a975517c68
Don't close help popover when clicking inside 2019-02-21 14:08:21 +01:00
Chocobozzz 84c7cde6e8
Update E2E tests 2019-02-21 14:04:44 +01:00
Chocobozzz ef80c66cea
Refactor ellipsis CSS 2019-02-20 15:52:03 +01:00
Chocobozzz 6d28a5056e
Correctly fix video import notification
If the imported video is deleted
2019-02-20 15:46:33 +01:00
Chocobozzz 1aabcae7e3
Add hover effect on video miniature 2019-02-20 14:56:18 +01:00
Chocobozzz e5fc7811ae
Increase thumbnails size 2019-02-20 13:59:31 +01:00
Chocobozzz b28e4e5e08
Add user notification animation 2019-02-20 10:16:04 +01:00
Chocobozzz 41d713446c
Lazy import some modules 2019-02-15 15:52:18 +01:00
Chocobozzz 344d8be566
Don't crash on error in notification popup 2019-02-15 09:43:36 +01:00
zacharystenger ec24796ea8 Fix negative seconds by displaying 0 instead (#1445) (#1625)
* Fix from-now.pipe.ts so it never displays negative seconds

* Apply the fix only when returning seconds. Remove redundant Math.floor operation
2019-02-12 09:16:15 +01:00
Chocobozzz 6913f69134
Move original publication date in advanced settings 2019-02-11 14:33:47 +01:00
Chocobozzz b718fd2237
Merge branch 'develop' into pr/1285 2019-02-11 14:09:23 +01:00
Chocobozzz 88108880bb
Merge branch 'develop' into pr/1217 2019-02-11 11:52:34 +01:00
Chocobozzz b426edd485
Cleanup reset user password by admin
And add some tests
2019-02-11 10:37:27 +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
Josh Morel 2c0070c8f3 fix undefined change ownership icons 2019-01-28 13:48:42 +01:00
Chocobozzz 0f80cb03c6
Add link to the profile who commented in notif 2019-01-21 14:08:25 +01:00
Chocobozzz 38967f7b73
Add server host in notification account field 2019-01-21 13:52:46 +01:00
Chocobozzz f2fab901df
Fix invisible things in dark mode 2019-01-17 11:34:29 +01:00
Chocobozzz 17bb716bc4
Fix some styles
Video edit tags, dropdown actions font ...
2019-01-17 11:16:08 +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 1506307f2f
Increase abuse length to 3000
And correctly handle new lines
2019-01-14 16:48:38 +01:00
Chocobozzz 9a39392a7e
Fix notification socket
Should be in core module to share the same subject to all the app
2019-01-14 15:32:09 +01:00
Chocobozzz f57ad0d22c
Fix scroll in notifications page 2019-01-14 15:12:20 +01:00
Chocobozzz b5487ff4a5
Add error message when trying to upload .ass subtitles 2019-01-14 11:52:15 +01:00
Chocobozzz 7b95f31385
Help translators to translate trending title/tooltip 2019-01-14 09:11:28 +01:00
Chocobozzz f242c2e01e
Improve "no notifications" message 2019-01-14 09:06:58 +01:00
Aurélien Béranger 9b4b15f91c WIP : Indicate to users how "trending" works (#1458)
* Get the INTERVAL_DAYS const in the video-trending component

* Change Trending section title

* Add a tooltip to explain how trending section works

* Minor CSS fix for the my-feed popover next to the titlepage
2019-01-14 09:06:48 +01:00
clementbrizard 1e74f19a21 Enable video upload and edit 2019-01-12 13:45:23 +00:00
clementbrizard c80341655f Change models 2019-01-12 13:41:45 +00:00
Chocobozzz 5abb9fbbd1
Add ability to unfederate a local video (on blacklist) 2019-01-10 15:39:51 +01:00
Chocobozzz 26a008fe8d
Update translations 2019-01-10 11:51:25 +01:00
Chocobozzz d3e56c0c4b
Implement contact form in the client 2019-01-10 11:32:38 +01:00
Chocobozzz 3866f1a02f
Add contact form checkbox in admin form 2019-01-10 11:32:38 +01:00
Chocobozzz 2f1548fda3 Add notifications in the client 2019-01-09 11:15:15 +01:00
Chocobozzz f8b2c1b4f5
Refractor notification service
Shorter name and use primeng component
2018-12-19 17:26:52 +01:00
Chocobozzz 276d965295
Add ability to disable and clear history 2018-12-18 11:35:51 +01:00
Chocobozzz 80bfd33c0b
Add history page on client 2018-12-18 11:35:51 +01:00
Acid Chicken (硫酸鶏) 583cd0d212 Add WebFinger support (#1498)
* Add WebFinger support

* Fix TS7006

* Follow lint

* Fix TS7006
2018-12-18 10:42:39 +01:00
Chocobozzz dae5ca24b1
Redirect to the last url on login 2018-12-11 15:27:46 +01:00
Chocobozzz 14e2014acc Support additional video extensions 2018-12-11 15:11:09 +01:00
Chocobozzz 4523bf1132
dots are allowed in actor names 2018-12-10 10:26:00 +01:00
Chocobozzz 6ebfaf6764
Remove dashes from actor names 2018-12-07 14:56:56 +01:00
BRAINS YUM d0ce42c1c1 username/display_name/video_channel_name min length 1 and max length 50 (#1265)
* make username, display_name and video_channel_name min length 1 and max length 50; (fixes #1263);
    ! still some bug on the frontend complains but if you remove the disabled property it creates the account just fine;
allow for usernames to start with a number;
fix test, since username can be 1 char now make test check empty;
fix test, Should fail with a too long username;
fix test, Should fail with a too small username;
fix regular expression for username and videoChannel;
change username, videoChannel to be lowercase and fix message;

* change 1 characters to 1 character
2018-12-07 14:54:33 +01:00
Chocobozzz 4e74e8032b
Remove inferred type 2018-12-05 14:36:05 +01:00
Chocobozzz ddb83e49ec
My account menu -> open entries on hover 2018-12-05 14:21:31 +01:00
Chocobozzz a99e2d9448
Reload user table when setting an email to verified 2018-11-21 17:11:56 +01:00
Chocobozzz f97c91f7ec
Add separators in user moderation dropdown 2018-11-21 17:05:31 +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 7373507fa8
Improve video upload error handling 2018-11-16 10:05:25 +01:00
Chocobozzz 650e3d5ce3
Fix miniature with a long name 2018-11-15 16:38:36 +01:00
Chocobozzz 2fbe7f1933
Fix new Angular 7 issues 2018-11-15 09:25:32 +01:00
Chocobozzz 5c6d985fae
Check activities host 2018-11-14 16:32:27 +01:00
BRAINS YUM d23e6a1c97 Feature/description support fields length 1000 (#1267)
* fix migrations to not use config constant values as it can introduce bugs later when they change; (fixes #1259)
remove constant fields imports from migrations

* add migrations to update description and support fields to 1000 (fixes #1258)

* fix client/server account and video_channel description/support fields to be max len 1000 (fixes #1258);
fix test Should fail with a too long description;
fix test Should fail with a long description;
fix test Should fail with a long description;
Remove USER.SUPPORT from constants since that field no longer exists;
null not false, in migrations/0280-description-support.ts;
video support field 1000, oops;

* rename migration 0280-description-support.ts -> 0285-description-support.ts;
update video support maxlength text
2018-10-19 08:54:01 +02:00
Chocobozzz e9683f850d
Fix lint 2018-10-18 14:58:11 +02:00
Chocobozzz c199c427d4
Better typings 2018-10-18 14:35:31 +02:00
BO41 244b4ae397 NoImplicitAny flag true (#1157)
this enables the `noImplicitAny` flag in the Typescript compiler

> When the noImplicitAny flag is true and the TypeScript compiler cannot infer the type, it still generates the JavaScript files, but it also reports an error. Many seasoned developers prefer this stricter setting because type checking catches more unintentional errors at compile time.

closes: #1131
replaces #1137
2018-10-18 09:08:59 +02:00
Chocobozzz bb5d90e62f
Merge branch 'feature/webtorrent-disabling' into develop 2018-10-17 10:48:56 +02:00
Chocobozzz 65b21c961c Add ability to mute a user/instance by server in client 2018-10-16 16:41:36 +02:00