Commit Graph

790 Commits (96df6ca606ddf2b3116a788e89f70e8dafef3a44)

Author SHA1 Message Date
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